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

GHC ghc-devs at haskell.org
Thu Feb 5 18:30:35 UTC 2015


#9858: Typeable instances should be kind-aware
-------------------------------------+-------------------------------------
        Reporter:  dreixel           |                   Owner:  dreixel
            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 int-e):

 Replying to [comment:55 goldfire]:
 > {{{
 > g :: Typeable (Proxy :: (k -> *) -> *)
 >   => Proxy (a :: k) -> Proxy (b :: k) -> TypeRep
 > }}}
 >
 > Again, I don't see the ambiguity, and I think GHC would be able to infer
 this type without trouble... I don't see how this is a special case,
 really.

 You're right, it isn't.

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


More information about the ghc-tickets mailing list