monad-finally: Guard monadic computations with cleanup actions

[ bsd3, control, library ] [ Propose Tags ]

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.

Versions [faq] 0.1,, 0.1.1, 0.1.2
Dependencies base (>=4.4 && <5), monad-abort-fd (>=0.6), monad-control (>=1.0), transformers (>=0.2), transformers-abort (>=0.6), transformers-base (>=0.4), transformers-compat (>=0.5) [details]
License BSD-3-Clause
Copyright 2011-2017 Mikhail Vorozhtsov <>
Author Mikhail Vorozhtsov <>
Maintainer Mikhail Vorozhtsov <>
Category Control
Home page
Bug tracker
Source repo head: git clone
Uploaded by MikhailVorozhtsov at 2017-12-17T20:32:34Z
Distributions NixOS:0.1.2
Downloads 1911 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2017-12-17 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees