
#11065: Outdated documentation for foldl and friends -------------------------------------+------------------------------------- Reporter: goldfire | Owner: bgamari Type: bug | Status: patch Priority: highest | Milestone: 8.0.1 Component: Documentation | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1617 Wiki Page: | -------------------------------------+------------------------------------- Comment (by thomie): Replying to [ticket:11065 goldfire]:
I've been doing functional programming for some time, and I still like to look at examples to make sure that I'm getting my `foldl` and `foldr` straight.
This video by Tony Morris is great: [http://vimeo.com/64673035 Explain List Folds to Yourself]. It's 48 minutes, but you'll never mix `foldl` and `foldr` up again. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11065#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler