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

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.5 && <0.6), 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
Category Control
Home page https://github.com/fused-effects/fused-effects-exceptions#readme
Source repo head: git clone https://github.com/fused-effects/fused-effects-exceptions
Uploaded by robrix at 2019-07-15T20:06:29Z
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.2.0.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.