[Haskell-beginners] GHCi bug?

Russ Abbott russ.abbott at gmail.com
Mon Nov 15 22:59:45 EST 2010


This looks like a GHCi bug.

Load a file with these two lines into GHCi

data Test = Test
instance Show Test where  -- No body to the instance statement

*
*
Then enter Test at the prompt.
*
*

> Test
*
*

This seems to bomb GHCi. It isn't even interruptible but must be shut down
and restarted.
*
*
* -- Russ *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20101115/08d27093/attachment.html


More information about the Beginners mailing list