[GHC] #10343: Make Typeable track kind information better
GHC
ghc-devs at haskell.org
Thu Apr 23 08:14:38 UTC 2015
#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 simonpj):
I'm assuming that much of what Oerjan wants will "just work" once we have
Richard's kind equalities. Right Richard?
But not, perhaps, `kindRep` which I do not fully understand. I wonder if
we might address `kindRep` as part of the overhaul sketched in
[wiki:Typeable this wiki page about Typeable]? The plan there is to move
to type-indexed type representations.
* What would `kindRep` look in that context?
* How would you use `kindRep`?
A new subsection on that page might be useful.
Simon
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10343#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list