[GHC] #9621: New Data.Foldable methods

GHC ghc-devs at haskell.org
Sun Sep 28 13:07:36 UTC 2014


#9621: New Data.Foldable methods
-------------------------------------+-------------------------------------
              Reporter:  hvr         |            Owner:  ekmett
                  Type:  task        |           Status:  new
              Priority:  normal      |        Milestone:  7.10.1
             Component:  Core        |          Version:
  Libraries                          |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:  #9586
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by Herbert Valerio Riedel <hvr@…>):

 In [changeset:"e5cca4ab246ca2d1ecdd7c39eefd3157547cb6aa/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="e5cca4ab246ca2d1ecdd7c39eefd3157547cb6aa"
 Extend `Foldable` class with `length` and `null` methods

 This completes the `Foldable` class by two important operations which
 this way can be optimised for the underlying structure more easily.

 A minor fix for the `containers` submodule was needed to due name clash

 Addresses #9621

 Reviewed By: ekmett, dfeuer, austin

 Differential Revision: https://phabricator.haskell.org/D250
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9621#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list