#5538: Foldable typeclass: make foldl' and foldr' class methods
---------------------------------+------------------------------------------
Reporter: guest | Owner:
Type: task | Status: new
Priority: normal | Component: libraries/base
Version: 7.2.1 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5538>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs