:i doesn't show constraints on datatypes
If we have this module:
module Q where
data Eq a => D a = C a
then :i
in ghci doesn't show the constraint:
*Q> :i D
data D a = C a -- Defined at q.hs:4:13
Affects both HEAD and 6.8 branch.
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |