ki: A lightweight, structured-concurrency library
A lightweight, structured-concurrency library.
This package comes in two variants:
Ki exposes the most stripped-down variant; start here.
Ki.Implicit extends Ki with an implicit context that's used to propagate soft cancellation signals.
Using this variant comes at a cost:
You must manually add constraints to propagate the implicit context to where it's needed.
To remain warning-free, you must delete the implicit context constraints where they are no longer needed.
If you don't need soft-cancellation, there is no benefit to using this variant, and you should stick with Ki.
Because you'll only ever need one variant at a time, I recommend using a
mixin stanza
to rename one module to Ki
while hiding the others. This also simplifies the
process of upgrading from Ki.Implicit to Ki if necessary.
mixins: ki (Ki.Implicit as Ki)
[Skip to Readme]
Flags
Manual Flags
Name | Description | Default |
---|---|---|
dejafu-tests | Internal flag used by DejaFu test suite | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- ki-0.2.0.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0, 0.1.0.1, 0.2.0, 0.2.0.1, 1.0.0, 1.0.0.1, 1.0.0.2, 1.0.1.0, 1.0.1.1, 1.0.1.2 (info) |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.12.0.0 && <4.17), containers, stm [details] |
License | BSD-3-Clause |
Copyright | Copyright (C) 2020 Mitchell Rosen |
Author | Mitchell Rosen |
Maintainer | Mitchell Rosen <mitchellwrosen@gmail.com> |
Revised | Revision 1 made by mitchellwrosen at 2021-12-31T19:18:09Z |
Category | Concurrency |
Home page | https://github.com/mitchellwrosen/ki |
Bug tracker | https://github.com/mitchellwrosen/ki/issues |
Source repo | head: git clone https://github.com/mitchellwrosen/ki.git |
Uploaded | by mitchellwrosen at 2020-12-21T01:26:39Z |
Distributions | LTSHaskell:1.0.1.2, NixOS:1.0.1.2, Stackage:1.0.1.2 |
Reverse Dependencies | 8 direct, 3 indirect [details] |
Downloads | 1528 total (4 in the last 30 days) |
Rating | 2.25 (votes: 2) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |