[Haskell-cafe] foldl vs foldl'

Bas van Dijk v.dijk.bas at gmail.com
Tue Nov 4 18:43:37 EST 2008


2008/11/5 Daryoush Mehrtash <dmehrtash at gmail.com>:
> Are there cases (function or list) where the result of foldl (or foldr)would
> be different that foldl' (or foldr')?

Maybe this wiki article I wrote some time ago will answer your question:

http://haskell.org/haskellwiki/Foldr_Foldl_Foldl'

regards,

Bas


More information about the Haskell-Cafe mailing list