Strange display behaviour in GHCi
Kazu encountered another GHCi oddity. Try ":browse Prelude" in GHCi. With 6.12 we get
data Integer
= integer-gmp:GHC.Integer.Type.S# GHC.Prim.Int#
| integer-gmp:GHC.Integer.Type.J# GHC.Prim.Int# GHC.Prim.ByteArray#
Why do we get the integer-gmp: prefix? There is no ambiguity here. (GHC 6.10 didn't do this, but that's because Integer was in the base package, whereas now Integer is in integer-gmp.)
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.12.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | kazu@iij.ad.jp |
| Operating system | |
| Architecture |