Skip to content

loadObj: failed

I coded the PrettyStub.hs file as shown in the Real World Haskell, page 119 and loaded it into ghci. I then proceeded to follow the examples on page 120:

ghci>:load PrettyStub
[2 of 2] Compiling Main             ( PrettyStub.hs, interpreted )
Ok, modules loaded: SimpleJSON, Main.
ghci>:show modules
SimpleJSON       ( SimpleJSON.hs, SimpleJSON.o )
Main             ( PrettyStub.hs, interpreted )
ghci>:type undefined
undefined :: a
ghci>undefined
*** Exception: Prelude.undefined
ghci>double 3.14
ghc: panic! (the 'impossible' happened)
  (GHC version 6.10.1 for i386-apple-darwin):
	loadObj: failed

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

And now I'm here.

Edited by Ian Lynagh -
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information