Skip to content

Error when running ghci in emacs buffer

I'm running ghci inside of an emacs buffer. I was trying to load the Control.Monad.Identity module into ghci and encountered this.

Prelude> :add Control.Monad.Identity

<no location info>:
    module `Control.Monad.Identity' is a package module
Failed, modules loaded: none.
Prelude> import Control.Monad.Identity
<interactive>:1:0: parse error on input `import'
Prelude> :show modules
: panic! (the 'impossible' happened)
  (GHC version 6.6 for i386-unknown-mingw32):
	missing linkable

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Edited by Ian Lynagh -
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information