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

GHC ghc-devs at haskell.org
Tue Feb 21 19:18:00 UTC 2017


#10343: Make Typeable track kind information better
-------------------------------------+-------------------------------------
        Reporter:  oerjan            |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  7.10.1
      Resolution:                    |             Keywords:  Typeable
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, #11011     |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Personally, I am satisfied with the status quo of being able to write,
 {{{#!hs
 f :: (Typeable (a::k), Typeable k) => Proxy a -> TypeRep
 f = typeOf
 }}}

 oerjan, if you also think that this is satisfactory then feel free to
 close this ticket.

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


More information about the ghc-tickets mailing list