devel/hs-enclosed-exceptions - The NetBSD Packages Collection

Catching all exceptions from within an enclosed computation

The purpose of this module is to allow you to capture all exceptions
originating from within the enclosed computation, while still reacting to
asynchronous exceptions aimed at the calling thread.

This way, you can be sure that the function that calls, for example,
catchAny, will still respond to ThreadKilled or Timeout events raised by
another thread (with throwTo), while capturing all exceptions, synchronous
or asynchronous, resulting from the execution of the enclosed computation.

One particular use case is to allow the safe execution of code from various
libraries (which you do not control), capturing any faults that might
occur, while remaining responsive to higher level events and control
actions.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

devel/hs-lifted-base devel/hs-monad-control devel/hs-transformers-base lang/ghc94 devel/hs-lifted-base devel/hs-monad-control devel/hs-transformers-base

Binary packages

OSArchitectureVersion
NetBSD 10.0x86_64hs-enclosed-exceptions-1.0.3.tgz
NetBSD 10.0x86_64hs-enclosed-exceptions-1.0.3.tgz
NetBSD 8.0x86_64hs-enclosed-exceptions-1.0.3.tgz
NetBSD 8.0x86_64hs-enclosed-exceptions-1.0.3.tgz
NetBSD 9.0x86_64hs-enclosed-exceptions-1.0.3.tgz
NetBSD 9.0x86_64hs-enclosed-exceptions-1.0.3.tgz
NetBSD 9.0x86_64hs-enclosed-exceptions-1.0.3.tgz
NetBSD 9.0x86_64hs-enclosed-exceptions-1.0.3.tgz
NetBSD 9.0x86_64hs-enclosed-exceptions-1.0.3.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.