> But I'm not sure why it makes a difference. Definition of foldl is
> similar to sum', only with a different argument order:

But the compiler can see that sum' is strict in its
second argument, so it can use call by value.  It can't for foldl.

Simon

Reply via email to