managed: A monad for managed values
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:
be more beginner-friendly,
simplify inferred types and error messages, and:
provide some additional type class instances that would otherwise be orphan instances
| 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 && <5), semigroups (>=0.16 && <0.19), transformers (>=0.2.0.0 && <0.6) [details] |
| License | BSD-3-Clause |
| Copyright | 2014 Gabriel Gonzalez |
| Author | Gabriel Gonzalez |
| Maintainer | Gabriel439@gmail.com |
| Category | Control |
| Bug tracker | https://github.com/Gabriel439/Haskell-Managed-Library/issues |
| Source repo | head: git clone https://github.com/Gabriel439/Haskell-Managed-Library |
| Uploaded | by GabrielGonzalez at Wed Feb 14 03:00:59 UTC 2018 |
| 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 | 8111 total (289 in the last 30 days) |
| Rating | (no votes yet) [estimated by rule of succession] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2018-02-16 [all 1 reports] |
Downloads
- managed-1.0.6.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)