Hi all,

I'm trying to get exception handling working in GHC, but don't seem to be
able to make it work. Am I likely to be missing a compiler switch, or
something?

Cutting things down to basics, I'd have thought that the following
expression (typed at the ghci command prompt) should work:

        try (error "x")

but the result is

        *** Exception: x

I seem to get the same problem with compiled code. Any ideas anyone?

TIA,
Sarah

_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to