
11 Sep
2012
11 Sep
'12
5:23 p.m.
On Tue, Sep 11, 2012 at 8:24 PM, Niklas Hambüchen
As a side note: Data.List.sum [1..100000000] eats all my memory in my ghci. Why does it use foldl, not foldl'?
Strictly* speaking, it's possible for (+) to be lazy in its parameters; in any case, if you compile with optimisations you may find the memory leak goes away. * No pun intended.