Foldable typeclass: make foldl' and foldr' class methods
Change the Data.Foldable module: move foldl' and foldr' functions into the Foldable type
class so they can be defined efficiently in the instance definitions.
See the discussion: http://www.haskell.org/pipermail/libraries/2011-June/016488.html
The patch from the initial message is attached.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.2.1 |
| Type | Task |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | libraries/base |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |