[GHC] #9586: Implement Traversable/Foldable-Burning-Bridges Proposal
GHC
ghc-devs at haskell.org
Thu Sep 18 20:54:56 UTC 2014
#9586: Implement Traversable/Foldable-Burning-Bridges Proposal
-------------------------------------+-------------------------------------
Reporter: hvr | Owner: hvr
Type: task | Status: new
Priority: normal | Milestone: 7.10.1
Component: | Version:
libraries/base | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: | Difficulty: Difficult (2-5
Unknown/Multiple | days)
Type of failure: | Blocked By:
None/Unknown | Related Tickets:
Test Case: |
Blocking: |
Differential Revisions: Phab:D209 |
-------------------------------------+-------------------------------------
Comment (by dfeuer):
Replying to [comment:4 dfeuer]:
rwbarton points out that there are optimized versions of these for various
things, and that most containers use `size` instead of `length`.
Therefore, I would propose instead adding `size` and `null` to the
`Foldable` class, with default definitions as above.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9586#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list