[Haskell-cafe] Exceptions
Krzysztof Skrzętnicki
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.
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 <aneumann at inf.fu-berlin.de>:
> 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
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
More information about the Haskell-Cafe
mailing list