[GHC] #10343: Make Typeable track kind information better

GHC ghc-devs at haskell.org
Mon Jan 25 11:11:00 UTC 2016


#10343: Make Typeable track kind information better
-------------------------------------+-------------------------------------
        Reporter:  oerjan            |                Owner:  goldfire
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.10.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:  typeOf ::
                                     |  Typeable (a::k) => Proxy a ->
                                     |  TypeRep
      Blocked By:                    |             Blocking:
 Related Tickets:  #9858             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 OK, so the payload is that you want
 {{{
 typeRepKind : forall (k::*). forall (a::k). TypeRep a -> TypeRep k
 }}}
 At least I think that's the right type.

 That's a nice short specification.  I hope that it would not be too hard
 to implement.

 The whole project of moving from the existing to the new `TypeRep` needs
 someone to lead it; maybe that can be your weekend project!   The key
 ticket is #11011, and wiki page [wiki:Typeable].

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


More information about the ghc-tickets mailing list