[GHC] #9111: base should export Typeable instances of its promoted data constructors

GHC ghc-devs at haskell.org
Tue May 27 11:56:31 UTC 2014


#9111: base should export Typeable instances of its promoted data constructors
-------------------------------------+------------------------------------
        Reporter:  goldfire          |            Owner:
            Type:  feature request   |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          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 Herbert Valerio Riedel <hvr@…>):

 In [changeset:"6ed54303e2d3f1ef19df1312331a1740eca3ccdc/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="6ed54303e2d3f1ef19df1312331a1740eca3ccdc"
 Replace DeriveDataTypeable by AutoDeriveTypeable

 This is a first step towards addressing #9111

 This results in the following additional Typeable (exported) instances
 being generated (list was compiled by diff'ing hoogle txt output):

   instance Typeable CFile
   instance Typeable 'CFile
   instance Typeable CFpos
   instance Typeable 'CFpos
   instance Typeable CJmpBuf
   instance Typeable 'CJmpBuf
   instance Typeable ChItem
   instance Typeable QSem
   instance Typeable ID
   instance Typeable 'ID
   instance Typeable CONST
   instance Typeable Qi
   instance Typeable Qr
   instance Typeable Mp
   instance Typeable ConstrRep
   instance Typeable Fixity
   instance Typeable 'Prefix
   instance Typeable 'Infix
   instance Typeable Constr
   instance Typeable DataType
   instance Typeable DataRep
   instance Typeable Data
   instance Typeable HasResolution
   instance Typeable IsList

 Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>
 }}}

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


More information about the ghc-tickets mailing list