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

GHC ghc-devs at haskell.org
Tue Oct 14 07:42:42 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 dreixel):

 Replying to [comment:4 simonpj]:
 > Yes I agree about instances.  Should be a question of adding
 `DeriveAutoTypeable` (or whatever it's called) to the module that defines
 all the tuple types.  Would someone like to do that?

 `AutoDeriveTypeable`. But, if I recall correctly, we've decided against
 that in the past because:
 1) It increased the object file size and/or compilation time significantly
 (though maybe we were also deriving `Data` and `Generic`);
 2) Very few people would make use of it;
 3) They could always use `StandaloneDeriving`.

 But perhaps it's time to revisit that decision.

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


More information about the ghc-tickets mailing list