
#10343: Make Typeable track kind information better -------------------------------------+------------------------------------- Reporter: oerjan | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: typeOf :: Related Tickets: #9858 | Typeable (a::k) => Proxy a -> | TypeRep | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by goldfire): Here's a strange thought: once we have `* :: *`, does `Typeable k a` imply `Typeable * k`? It probably should. But then we would have {{{ class Typeable k => Typeable (a :: k) where ... }}} which has a superclass cycle. The cycle is benign because we know that all kinds have type `*`, but it still is a curious beast. Of course, this isn't necessary, but it would be nice. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10343#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler