resource-simple: Allocate resources which are guaranteed to be released.
This is a simplified, standalone version of the ResourceT
transformer that
was originally developed as part of the conduit
package. That version of
ResourceT
was supported by a complicated hierarchy of type classes, the
main purpose of which was to enable the usage of ResourceT
on top of the
ST
monad. However, this doesn't really make much sense conceptually, and
the reason it was done is because conduits are very closely tied to
ResourceT
, and an instance for ST
would enable the usage of ResourceT
in pure code.
This package completely does away with the supporting type class hierarchy,
and as such, this version of ResourceT
can only be used with IO
or
IO
-like monads.
This package is motivated by a belief that the iteratee problem and the
resource finalization problem are orthogonal. This package is ideal for
usage with the pipes
library.
Downloads
- resource-simple-0.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.2 |
---|---|
Dependencies | base (>4 && <5), containers (<1), monad-control (>0.3 && <0.4), monad-fork (<0.2), mtl-evil-instances (<0.2), transformers (>0.2 && <0.3), transformers-base (<0.5) [details] |
License | BSD-3-Clause |
Author | Shane O'Brien |
Maintainer | shane@duairc.com |
Category | Control |
Source repo | head: git clone git://github.com/duairc/resource-simple.git |
Uploaded | by ShaneOBrien at 2012-03-02T14:00:58Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 1994 total (2 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |