[Haskell-cafe] Crash!

J. Garrett Morris jgmorris at cecs.pdx.edu
Thu Oct 23 14:21:50 EDT 2008

On Thu, Oct 23, 2008 at 11:00 AM, Andrew Coppin
<andrewcoppin at btinternet.com> wrote:
> I was under the impression that this is impossible, so I'm now slightly
> worried.

I'm not sure why you'd think that:

import Foreign

fail :: IO Int
fail = peek nullPtr

main = fail >>= print


I am in here

More information about the Haskell-Cafe mailing list