./devel/hs-safe-exceptions, Safe, consistent, and easy exception handling

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.1.7.4nb2, Package name: hs-safe-exceptions-0.1.7.4nb2, Maintainer: pkgsrc-users

This 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: 14.987 KB

Version history: (Expand)


CVS history: (Expand)


   2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137)
Log message:
Recursive revbump after changing the default Haskell compiler
   2024-04-28 22:47:58 by Masatake Daimon | Files touched by this commit (2)
Log message:
devel/hs-safe-exceptions: Fix build with GHC 9.8

This breaks build with the currently default GHC 9.6. Please bear with me
until I switch the default compiler.
   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-26 07:13:37 by Masatake Daimon | Files touched by this commit (4)
Log message:
devel/hs-safe-exceptions: Update to 0.1.7.4

0.1.7.4
    Add HasCallStack when exceptions >= 0.10.6 (#41)
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94
   2023-01-25 02:26:27 by Masatake Daimon | Files touched by this commit (4)
Log message:
devel/hs-safe-exceptions: Update to 0.1.7.3

0.1.7.3
* Allow transformers 0.6 #39
   2022-02-26 04:58:36 by Masatake Daimon | Files touched by this commit (872)
Log message:
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
   2022-02-16 08:43:54 by Masatake Daimon | Files touched by this commit (5)
Log message:
devel/hs-safe-exceptions: import hs-safe-exceptions-0.1.7.2

This 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