[GHC] #10107: Add Functor etc. to Data.Monoid wrappers

GHC ghc-devs at haskell.org
Tue Mar 3 13:25:44 UTC 2015


#10107: Add Functor etc. to Data.Monoid wrappers
-------------------------------------+-------------------------------------
        Reporter:  phadej            |                   Owner:
            Type:  feature request   |                  Status:  new
        Priority:  normal            |               Milestone:  7.12.1
       Component:  libraries/base    |                 Version:  7.8.4
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:  #4880             |                Blocking:
                                     |  Differential Revisions:  Phab:D673
-------------------------------------+-------------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"4e6bcc2c8134f9c1ba7d715b3206130f23c529fb/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="4e6bcc2c8134f9c1ba7d715b3206130f23c529fb"
 Add various instances to newtypes in Data.Monoid

 Summary:
 Add Functor instances for Dual, Sum and Product
 Add Foldable instances for Dual, Sum and Product
 Add Traversable instances for Dual, Sum and Product
 Add Foldable and Traversable instances for First and Last
 Add Applicative, Monad instances to Dual, Sum, Product
 Add MonadFix to Data.Monoid wrappers
 Derive Data for Identity
 Add Data instances to Data.Monoid wrappers
 Add Data (Alt f a) instance

 Reviewers: ekmett, dfeuer, hvr, austin

 Reviewed By: dfeuer, austin

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D673

 GHC Trac Issues: #10107
 }}}

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


More information about the ghc-tickets mailing list