[GHC] #8797: Generics instances for monoid and applicative newtypes

GHC ghc-devs at haskell.org
Tue Feb 18 10:24:34 UTC 2014


#8797: Generics instances for monoid and applicative newtypes
-------------------------------------------+-------------------------------
       Reporter:  jcristovao               |             Owner:
           Type:  feature request          |            Status:  new
       Priority:  normal                   |         Milestone:
      Component:  libraries/base           |           Version:  7.6.3
       Keywords:                           |  Operating System:
   Architecture:  Unknown/Multiple         |  Unknown/Multiple
     Difficulty:  Easy (less than 1 hour)  |   Type of failure:
     Blocked By:                           |  None/Unknown
Related Tickets:                           |         Test Case:
                                           |          Blocking:
-------------------------------------------+-------------------------------
 Hi,

 Is there any particular reason why there aren't Generic instances for the
 newtypes under Data.Monoid and Control.Applicative (for example)?

 I've tried adding them to GHC/Generics.hs and base compiles without
 problems.

 Could this addition be considered?
 Best Regards,
 João

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


More information about the ghc-tickets mailing list