[GHC] #9687: Missing Typeable instances for built-in types

GHC ghc-devs at haskell.org
Tue Oct 14 01:21:51 UTC 2014


#9687: Missing Typeable instances for built-in types
-------------------------------------+-------------------------------------
              Reporter:  selinger    |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by selinger):

 Great, I confirm that this works:

 {{{
 {-# LANGUAGE StandaloneDeriving #-}
 {-# LANGUAGE DeriveDataTypeable #-}

 import Data.Typeable

 deriving instance Typeable (,,,,,,,)
 }}}

 Solves my problem in the short term.

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


More information about the ghc-tickets mailing list