ki: A lightweight, structured concurrency library
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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]
Properties
Versions | 0, 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 |
---|---|
Change log | CHANGELOG.md |
Dependencies | atomic-primops, base (>=4.12.0.0 && <4.15), containers, stm [details] |
License | BSD-3-Clause |
Copyright | Copyright (C) 2020 Mitchell Rosen |
Author | Mitchell Rosen |
Maintainer | Mitchell Rosen <mitchellwrosen@gmail.com> |
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-11-11T15:14:12Z |
Modules
[Index] [Quick Jump]
Flags
Manual Flags
Name | Description | Default |
---|---|---|
test | 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.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees