[Haskell-cafe] ANN: asynchronous-exceptions

Roman Cheplyaka roma at ro-che.info
Wed Feb 5 11:28:01 UTC 2014


The links are:

http://hackage.haskell.org/package/asynchronous-exceptions
https://github.com/feuerbach/asynchronous-exceptions

* Roman Cheplyaka <roma at ro-che.info> [2014-02-05 13:23:38+0200]
> It is often useful to distinguish between synchronous and asynchronous
> exceptions. The common idiom is to run a user-supplied computation
> catching any synchronous exceptions but allowing asynchronous exceptions
> (such as user interrupt) pass through.
> 
> base 4.7 (shipped with GHC 7.8) will have SomeAsyncException type that
> solves this problem.
> 
> asynchronous-exceptions is a new package that serves two purposes:
> * provide compatibility with older `base` versions that lack the
>   `SomeAsyncException` type
> * define convenient functions for catching only synchronous exceptions
> 
> Roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140205/1d515fe7/attachment.sig>


More information about the Haskell-Cafe mailing list