[GHC] #10365: Implement Semigroup as a superclass of Monoid Proposal (Phase 1)

GHC ghc-devs at haskell.org
Fri Oct 2 06:23:20 UTC 2015


#10365: Implement Semigroup as a superclass of Monoid Proposal (Phase 1)
-------------------------------------+-------------------------------------
        Reporter:  gidyn             |                Owner:  hvr
            Type:  feature request   |               Status:  patch
        Priority:  high              |            Milestone:  8.0.1
       Component:  libraries/base    |              Version:  7.10.1
      Resolution:                    |             Keywords:  report-impact
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1284
-------------------------------------+-------------------------------------

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

 In [changeset:"03b380428c128b12aef07a9b67341803ef0bea76/ghc"
 03b38042/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="03b380428c128b12aef07a9b67341803ef0bea76"
 Add Data.Semigroup and Data.List.NonEmpty (re #10365)

 This implements phase 1 of the semigroup-as-monoid-superclass
 proposal (https://ghc.haskell.org/wiki/Proposal/SemigroupMonoid).

 The modules were migrated from the `semigroups-0.17` release mostly
 as-is, except for dropping several trivial `{-# INLINE #-}`s,
 removing CPP usage, and instances for types & classes provided
 outside of `base` (e.g. `containers`, `deepseq`, `hashable`, `tagged`,
 `bytestring`, `text`)

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

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


More information about the ghc-tickets mailing list