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]
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
core | If set, only includes dependencies that are the bare minimum needed for this library | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- scoped-codensity-0.2.0.0.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), unliftio-core (<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-19T17:13:15Z |
Distributions | |
Downloads | 44 total (44 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] |