[GHC] #9858: Typeable instances should be kind-aware

GHC ghc-devs at haskell.org
Mon Mar 9 13:20:18 UTC 2015


#9858: Typeable instances should be kind-aware
-------------------------------------+-------------------------------------
        Reporter:  dreixel           |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  highest           |               Milestone:  7.10.1
       Component:  Compiler          |                 Version:  7.9
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by simonpj):

 It's certainly possible to make it possible ''not'' to have `Typeable`.
 But it's a significant chunk of extra work, and at the moment we pretty
 strongly believe we'll want to throw it away anyway.  I don't think we
 have a single example of a situation which having `Typeable` is bad.

 However, if (against all the evidence) someone eventually produces a
 situation in which we don't want `Typeable` for some type, we can I
 suppose implement `NoAutoDeriveTypable`.  So I don't think we are painting
 ourselves into any corners.

 Reasonable questions, but I think we should proceed as planned.

 Simon

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


More information about the ghc-tickets mailing list