Skip to content

:p in GHCi debugger is broken for Integer

:p used to do this for Integers:

Prelude> let i = Just (10::Integer)
Prelude> :p i
i = Just 10

but it now does this:

Prelude> let i = Just (10::Integer)
Prelude> :p i
i = Just (_t1::Integer)

but I can't see an obvious reason why.

Trac metadata
Trac field Value
Version 6.9
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information