On Thu, Oct 23, 2008 at 11:00 AM, Andrew Coppin
<[EMAIL PROTECTED]> 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

 /g

-- 
I am in here
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to