Existentials in newtypes
Please allow existential quantification of phantom type arguments in newtypes.
type role A nominal representational phantom -- Or inferred roles.
newtype B a b where
B :: A a b c -> B a b
Trac metadata
Trac field | Value |
---|---|
Version | 8.4.3 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |