I can't get the two examples (sum/product) in:
https://wiki.haskell.org/Memory_leak#Holding_a_reference_for_a_too_long_time
to behave differently under O2 or O0.
Same profile report each time.
Have changes to prelude (FTP? Rewrite rules/build stuff for folds?) made these do the same thing? The foldl/foldl' examples behave the same as you might expect. (216mb vs. 1mb of heap)
--- Chris Allen