monad-finally: Guard monadic computations with cleanup actions
This package provides a generalized version of Control.Exception.finally
.
The cleanup action is run not only on successful termination of the main
computation and on errors, but on any control flow disruption (e.g.
mzero
, short-circuiting) that causes the main computation to not produce
a result.
[Skip to Readme]
Downloads
- monad-finally-0.1.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1, 0.1.0.1, 0.1.1, 0.1.2, 0.1.2.1 |
---|---|
Dependencies | base (>=4.4 && <5), monad-abort-fd (>=0.6.2), monad-control (>=1.0), transformers (>=0.2), transformers-abort (>=0.6), transformers-base (>=0.4), transformers-compat (>=0.6.1) [details] |
Tested with | ghc ==7.6.3, ghc ==7.8.4, ghc ==7.10.3, ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.1 |
License | BSD-3-Clause |
Copyright | 2011-2017 Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com> |
Author | Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com> |
Maintainer | Mikhail Vorozhtsov <mikhail.vorozhtsov@gmail.com> |
Category | Control |
Home page | https://github.com/mvv/monad-finally |
Bug tracker | https://github.com/mvv/monad-finally/issues |
Source repo | head: git clone https://github.com/mvv/monad-finally.git |
Uploaded | by MikhailVorozhtsov at 2018-04-01T10:33:14Z |
Distributions | NixOS:0.1.2.1 |
Reverse Dependencies | 1 direct, 1 indirect [details] |
Downloads | 2471 total (29 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2018-04-14 [all 1 reports] |