[GHC] #9526: Add missing Generic instances in base

GHC ghc-devs at haskell.org
Sat Aug 30 15:46:22 UTC 2014


#9526: Add missing Generic instances in base
-------------------------------------+-------------------------------------
       Reporter:  nh2                |                   Owner:
           Type:  feature request    |                  Status:  new
       Priority:  normal             |               Milestone:  7.10.1
      Component:  libraries/base     |                 Version:  7.8.3
       Keywords:                     |        Operating System:
   Architecture:  Unknown/Multiple   |  Unknown/Multiple
     Difficulty:  Moderate (less     |         Type of failure:
  than a day)                        |  None/Unknown
     Blocked By:                     |               Test Case:
Related Tickets:                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 Most primitive types (`Int`, `Char`, etc.) have a GHC.Generics.Generic
 instance, but some are missing, such as `Integer` and the various `Word*`
 data types.

 We should consistently have instances for all primitive types offered by
 base, since they are required if you want to derive a Generic instance for
 any type that contains them.

 I boldly set the milestone to 7.10 because I naively assume this should be
 straightforward.

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


More information about the ghc-tickets mailing list