scoped-codensity: CPS resource allocation but as a Monad and completely safe
This implements a Monad just like Codensity
from the `kan-extensions` package, but it uses a skolem trap just like the `ST s` monad to track resources allocated in the monad.
The package wraps around different "scoped" resources that cannot escape a scoped
block and are safely deallocated when the block is left.
[Skip to Readme]
Modules
[Index] [Quick Jump]
Downloads
- scoped-codensity-0.1.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
- No Candidates
Versions [RSS] | 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.2.0.0 (info) |
---|---|
Change log | CHANGELOG.md |
Dependencies | async (<2.3), base (<5), temporary (<1.4), text (<2.2), transformers (<0.7), unliftio (<0.3) [details] |
License | AGPL-3.0-or-later |
Author | mangoiv |
Maintainer | contact@mangoiv.com |
Category | Control |
Home page | https://git.mangoiv.com/mangoiv/scoped-codensity |
Uploaded | by mangoiv at 2024-12-17T22:33:06Z |
Distributions | |
Downloads | 49 total (49 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] |