:info does not display "forall" for a synonym
Define:
data A = A (forall a. a)
type B = forall a. a
and in ghci we see:
Prelude> :i A
data A = A (forall a. a) -- OK
Prelude> :i B
type B = a -- "forall" missing
This is a minor issue, but since "type B = a" is not valid Haskell I'm reporting it.
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |