I don't really think this is possible: consider asynchronous
exceptions and throwTo.

http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Exception.html#v%3AthrowTo

Since it can throw just *any* exception into thread. And this thread
might not be aware that anyone can throw him anything. Therefore it is
not possible to catch it while compiling it's code.

But Maybe I'm Just wrong.

Christopher Skrzętnicki

2008/7/27 Adrian Neumann <[EMAIL PROTECTED]>:
> Hello,
>
> I think it'd be nice if the compiler could warn me if there are any
> exceptions which I'm not catching, similar to checked exceptions in Java.
> Does anyone know of a possibility to do that in Haskell?
>
> Adrian
>
> _______________________________________________
> Haskell-Cafe mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to