[GHC] #1769: Deriving Typeable for data families

GHC cvs-ghc at haskell.org
Fri Nov 12 03:53:04 EST 2010


#1769: Deriving Typeable for data families
----------------------------------------+-----------------------------------
    Reporter:  chak                     |        Owner:  chak        
        Type:  task                     |       Status:  new         
    Priority:  low                      |    Milestone:  7.0.1       
   Component:  Compiler (Type checker)  |      Version:  6.9         
    Keywords:                           |     Testcase:              
   Blockedby:                           |   Difficulty:  Unknown     
          Os:  Unknown/Multiple         |     Blocking:              
Architecture:  Unknown/Multiple         |      Failure:  None/Unknown
----------------------------------------+-----------------------------------
Changes (by mitar):

 * cc: mmitar@… (added)
  * failure:  => None/Unknown


Comment:

 Ping.

 This would be really great to have. Currently (7.0 from repository) it
 fails with:

 {{{
     Can't make a derived instance of
       `Typeable (...)':
       `...' is a type family
 }}}

 But without Typeable I cannot make instance of Data for `data` types I
 have associated with my type class.

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


More information about the Glasgow-haskell-bugs mailing list