fused-effects-exceptions: Handle exceptions thrown in IO with fused-effects.

[ bsd3, control, control., library ] [ Propose Tags ] [ Report a vulnerability ]

Provides an effect that enables catching exceptions thrown from impure computations such as IO.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.1.0, 0.2.0.0, 1.0.0.0, 1.1.0.0, 1.1.0.1
Dependencies base (>=4.7 && <5), fused-effects (>=0.3 && <0.5), safe-exceptions (>=0.1 && <1), unliftio-core (>=0.1.2 && <1) [details]
Tested with ghc ==8.6.4
License BSD-3-Clause
Copyright 2019 Josh Vera and Patrick Thomson
Author Josh Vera
Maintainer patrickt@github.com
Revised Revision 1 made by patrick_thomson at 2019-07-06T14:29:51Z
Category Control.
Home page https://github.com/patrickt/fused-effects-exceptions#readme
Source repo head: git clone https://github.com/fused-effects/fused-effects-exceptions
Uploaded by patrick_thomson at 2019-05-17T18:45:28Z
Distributions
Downloads 3406 total (15 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for fused-effects-exceptions-0.1.1.0

[back to package description]

fused-effects-exceptions

This package provides functionality to handle exceptions thrown in the IO monad. It delegates to catch from Control.Exception. An additional catchSync primitive is provided to handle the common case of catching only synchronous exceptions.

This implementation was extracted from one originally written by Josh Vera. It requires a version of fused-effects later than 0.3.