how confusing is cal's reduction strategy?

2 views
Skip to first unread message

Raoul Duke

unread,
Nov 19, 2009, 1:33:04 PM11/19/09
to CAL Language Discussion
hi

cf. http://groups.google.com/group/comp.lang.haskell/msg/5001ba2adb3285c1

sounds like it can be hard to understand the runtime behaviour of
programs from GHC because the reduction strategy might change
depending on how it was compiled through GHC. how do such things fare
in CAL?

thanks.

Tom Davies

unread,
Nov 19, 2009, 4:25:37 PM11/19/09
to CAL Language Discussion
I'm sometimes confused by CAL's space behaviour, but I think that's
just me :-) I can control it by adding strictness annotations, and I
don't recall any unexpected behaviour.

The global optimizer performs various transformations -- on the
assumption that these aren't applied in the REPL you might see
different behaviour between the two.
Reply all
Reply to author
Forward
0 new messages