InstanceD declaration does not allow for explicit TyVarBndrs
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]
...
Trac metadata
Trac field | Value |
---|---|
Version | 7.5 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Template Haskell |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |