Skip to content

Another kindFunResult panic

While working at the GHCi prompt, I left off a pair of parens, yielding:

> import Control.Applicative
> import Control.Monad.Trans
> :type \x -> (either (fmap Right) id) <$> lift $ x
ghc: panic! (the 'impossible' happened)
  (GHC version 7.7.20130214 for x86_64-unknown-linux):
	kindFunResult
<<details unavailable>>

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

Replacing <$> lift $ x with <$> (lift $ x), which is what I'd meant, makes everybody happier. But as this happens in both 7.6.2 and 7.7.20130214, I thought I should do what it says and report it.

Thanks!

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