[GHC] #9043: Add missing type class instances for data types in GHC.Generics

GHC ghc-devs at haskell.org
Mon May 5 21:44:48 UTC 2014


#9043: Add missing type class instances for data types in GHC.Generics
-------------------------------------+------------------------------------
        Reporter:  ocharles          |            Owner:  dreixel
            Type:  feature request   |           Status:  patch
        Priority:  normal            |        Milestone:
       Component:  libraries/base    |          Version:  7.8.2
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by ocharles):

 Alright, I've responded to some comments and added more instances. Could
 people please have another look? I wrote out Data instances, but I have
 never actually used Data.Data, so I may have got that wrong. Is it
 possible to write Data instances for (:+:) and friends? My initial attempt
 was no, but I may have missed something. Latest code is at
 https://github.com/ocharles/ghc/tree/generics-instances (as before).

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


More information about the ghc-tickets mailing list