Skip to content

:print panics GHCi with overloaded values

After starting GHCi, using the debugger to print certain functions causes a panic. For example, the following statements all cause GHCi to panic and quit:

:print (+)
:print print
:print log

Other functions, such as head, tail, and fst are shown by the debugger properly as <function>, with no error.

This behavior is identical on PPC and i386 platforms, running OS X (10.4/10.5 respectively).

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