lifetimes: Flexible manual resource management
The lifetimes package provides support for manual resource management,
in a way that is more flexible than what is provided by resourcet
or
bracket
.
Like resourcet
, this package allows releasing acquired resources early.
In addition, it also provides move semantics: resources can be moved to
a different lifetime after they are acquired. Lifetimes are first class
values, which can themselves be acquired as resources, allowing for
heirarchical management as well.
[Skip to Readme]
Downloads
- lifetimes-0.2.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0.0, 0.2.0.0, 0.2.0.1 |
---|---|
Change log | CHANGELOG.md |
Dependencies | async (>=2.2.4 && <2.3), base (>=4.12 && <5), containers (>=0.6.2 && <0.7), monad-stm (>=0.1 && <0.2), stm (>=2.5 && <2.6), transformers (>=0.5.6 && <0.6), zenhack-prelude (>=0.1 && <0.2) [details] |
License | Apache-2.0 |
Copyright | 2021-2023 Ian Denhardt |
Author | Ian Denhardt |
Maintainer | ian@zenhack.net |
Home page | https://github.com/zenhack/haskell-lifetimes |
Source repo | head: git clone https://github.com/zenhack/haskell-lifetimes -b main |
Uploaded | by isd at 2023-02-05T03:45:51Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 315 total (3 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2023-02-05 [all 1 reports] |