Ticket #5538 (closed task: fixed)

Opened 8 months ago

Last modified 4 months ago

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

Foldable.hs.diff Download (2.9 KB) - added by guest 8 months ago.

Change History

Changed 8 months ago by guest

Changed 7 months ago by igloo

  • status changed from new to patch
  • milestone set to 7.6.1

Changed 4 months ago by igloo

  • status changed from patch to closed
  • difficulty set to Unknown
  • resolution set to fixed
Note: See TracTickets for help on using tickets.