On Friday 07 January 2005 12:03, Ketil Malde wrote: > Naive use of foldl. I tend to think the default foldl should be > strict (ie. replaced by foldl') -- are there important cases where it > needs to be lazy?
Hi, One simple example would be, > reverse = foldl (flip (:)) [] J.A. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe