http://www.haskell.org/haskellwiki/Foldr_Foldl_Foldl
A Haskell programmer needs to understand when non-strict evaluation can/should be avoided. foldr is usually more elegant but sometimes less efficient.
http://www.haskell.org/haskellwiki/Foldr_Foldl_Foldl%27
http://www.haskell.org/haskellwiki/Foldr_Foldl_Foldl
A Haskell programmer needs to understand when non-strict evaluation can/should be avoided. foldr is usually more elegant but sometimes less efficient.