:info and polykinds
ghci -XPolyKinds
Prelude> data A x y
Prelude> :i A
data A k k x y -- Defined at <interactive>:3:6
The two k
might be different. It should be either A k l x y
or - without kind variables - A x y
.
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |