managed: A monad for managed values

[ bsd3, control, library ] [ Propose Tags ]

In Haskell you very often acquire values using the with... idiom using functions of type (a -> IO r) -> IO r. This idiom forms a Monad, which is a special case of the ContT monad (from transformers) or the Codensity monad (from kan-extensions). The main purpose behind this package is to provide a restricted form of these monads specialized to this unusually common case.

The reason this package defines a specialized version of these types is to:

Versions [faq] 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6 (info)
Dependencies base (>=4.5 && <4.11), transformers (>= && <0.6) [details]
License BSD-3-Clause
Copyright 2014 Gabriel Gonzalez
Author Gabriel Gonzalez
Revised Revision 1 made by HerbertValerioRiedel at Sat Oct 6 19:39:54 UTC 2018
Category Control
Bug tracker
Source repo head: git clone
Uploaded by GabrielGonzalez at Wed May 18 03:39:14 UTC 2016
Distributions Arch:1.0.6, Fedora:1.0.6, LTSHaskell:1.0.6, NixOS:1.0.6, Stackage:1.0.6, openSUSE:1.0.6
Downloads 7507 total (155 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2016-11-25 [all 1 reports]




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

For package maintainers and hackage trustees