Skip to content

ghci cannot :print certain functions

The :print dies sometimes with

ghc-6.8.2: panic! (the 'impossible' happened) (GHC version 6.8.2 for i386-unknown-linux): Can't unify

Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug

The truncate function kills it consistently. For eg, :print truncate or :sprint truncate

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