Ticket #5538 (closed task: fixed)
Foldable typeclass: make foldl' and foldr' class methods
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.6.1 |
| Component: | libraries/base | Version: | 7.2.1 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

