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

GHC ghc-devs at haskell.org
Wed Feb 22 02:00:11 UTC 2017


#10343: Make Typeable track kind information better
-------------------------------------+-------------------------------------
        Reporter:  oerjan            |                Owner:  (none)
            Type:  feature request   |               Status:  closed
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  7.10.1
      Resolution:  wontfix           |             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:                    |
-------------------------------------+-------------------------------------
Changes (by oerjan):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Yes, I see that even my "kitchen sink" example can be fixed with a simple
 `Typeable k` constraint. And as in my previous comment, such constraints
 can be inferred too.

 So since I don't know any examples that this doesn't suffice for, I'll
 close this.

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


More information about the ghc-tickets mailing list