Path to this page:
./
devel/hs-safe-exceptions,
Safe, consistent, and easy exception handling
Branch: pkgsrc-2022Q1,
Version: 0.1.7.2nb1,
Package name: hs-safe-exceptions-0.1.7.2nb1,
Maintainer: pkgsrc-usersThis package provides additional safety and simplicity versus
Control.Exception by having its functions recognize the difference between
synchronous and asynchronous exceptions. As described below, synchronous
exceptions are treated as recoverable, allowing you to catch and handle
them as well as clean up after them, whereas asynchronous exceptions can
only be cleaned up after. In particular, this library prevents you from
making the following mistakes:
* Catching and swallowing an asynchronous exception
* Throwing an asynchronous exception synchronously
* Throwing a synchronous exception asynchronously
* Swallowing asynchronous exceptions via failing cleanup handlers
Master sites:
Filesize: 13.82 KB
Version history: (Expand)
- (2022-03-31) Package added to pkgsrc.se, version hs-safe-exceptions-0.1.7.2nb1 (created)