gtener at gmail.com
Sun Jul 27 13:58:05 EDT 2008
I don't really think this is possible: consider asynchronous
exceptions and throwTo.
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.
2008/7/27 Adrian Neumann <aneumann at inf.fu-berlin.de>:
> 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?
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe