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

[ bsd3, control, control., library ] [ Propose Tags ]

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

[Skip to Readme]


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,,,,
Dependencies base (>=4.7 && <5), fused-effects (>=0.3 && <1), safe-exceptions (>=0.1 && <1) [details]
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/patrickt/fused-effects-exceptions#readme
Source repo head: git clone https://github.com/fused-effects/fused-effects-exceptions
Uploaded by patrick_thomson at 2019-04-12T19:55:12Z
Distributions NixOS:
Downloads 3139 total (16 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-04-12 [all 1 reports]

Readme for fused-effects-exceptions-

[back to package description]


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.