[GHC] #13555: Typechecker regression when combining PolyKinds and MonoLocalBinds
GHC
ghc-devs at haskell.org
Mon Apr 10 15:11:47 UTC 2017
#13555: Typechecker regression when combining PolyKinds and MonoLocalBinds
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner: (none)
Type: bug | Status: new
Priority: highest | Milestone: 8.2.1
Component: Compiler (Type | Version: 8.1
checker) |
Resolution: | Keywords: TypeInType
Operating System: Unknown/Multiple | Architecture:
Type of failure: GHC rejects | Unknown/Multiple
valid program | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
I'd be happy with (1): let's add a user-manual section about kind
generalisation, including saying when it does ''not'' happen.
Who will do that; Richard?
Also, is it enough to say
{{{
crtInfo :: forall (m :: k) . (Reflects m Int) => ...blah...
}}}
or do we need
{{{
crtInfo :: forall k (m :: k) . (Reflects m Int) => ...blah...
}}}
I think the former is ok, but is there a rule in the user manual that
makes that clear?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13555#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list