[Haskell-cafe] ANN: asynchronous-exceptions
roma at ro-che.info
Wed Feb 5 11:23:38 UTC 2014
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
* define convenient functions for catching only synchronous exceptions
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the Haskell-Cafe