#4016: Strange display behaviour in GHCi
---------------------------------+------------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.12.2
Keywords: | Difficulty:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: None/Unknown
Patch: 0 |
---------------------------------+------------------------------------------
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`.)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4016>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs