Monday, September 26, 2016

[rotqywrk] foldl foldr

foldl: (x * y) * z

foldr: x * (y * z)

Also a nice reference: https://wiki.haskell.org/Foldr_Foldl_Foldl'

2 comments :

Emil Axelsson said...

See also these nice pages: foldl.com, foldr.com

George Colpitts said...

That reference is one of the best things I have ever read on Haskell! Thanks so much for linking to it!