[Haskell-cafe] foldl vs foldl'

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


On Wed, Nov 5, 2008 at 12:43 AM, Bas van Dijk <v.dijk.bas at gmail.com> wrote:
> 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'

Oops that link should be:

http://haskell.org/haskellwiki/Foldr_Foldl_Foldl%27


More information about the Haskell-Cafe mailing list