#6064: InstanceD declaration does not allow for explicit TyVarBndrs
------------------------------+---------------------------------------------
Reporter: goldfire | Owner:
Type: feature request | Status: new
Priority: normal | Component: Template Haskell
Version: 7.5 | Keywords: TemplateHaskell InstanceD
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
The definition of {{{InstanceD}}} does not allow for explicitly-kinded
type variables. Though it is possible to use {{{SigT}}} to give kinds in
places, GHC currently does not allow undeclared kind variables to appear
there.
I propose changing the definition of {{{InstanceD}}} to be as follows:
{{{
type Dec =
...
| InstanceD [TyVarBndr] Cxt Type [Dec]
...
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6064>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs