[GHC] #9858: Typeable instances should be kind-aware
GHC
ghc-devs at haskell.org
Thu Feb 5 05:57:24 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:49 int-e]:
> {{{
> f = \(p :: Proxy Proxy) -> typeRep p
> }}}
Note that currently, the function has type `Proxy Proxy -> Typeable`. What
will the type be under the proposed medium term solution?
If we want full backward compatibility (and I personally don't think we
should strive for that for examples like this one) then passing hidden
extra evidence is the only way to go.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9858#comment:50>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list