The stm-orelse-io package
While tinkering on a project, I frequently found myself wanting to wait for an IO operation unless something more important came up. The Control.Concurrent.STM.OrElseIO module is meant to reduce the boilerplate needed when choosing between IO actions and STM operations.
You must use the threaded runtime with this package.
Kill off IO threads whose return values will never be needed.
Possibly rename runOrElse and friends to orElseIO or similar.
- No changelog available
|Dependencies||base (==4.*), stm|
|Copyright||2012 Gard Spreemann|
|Maintainer||Gard Spreemann <email@example.com>|
|Uploaded||Sat Sep 15 17:17:34 UTC 2012 by GardSpreemann|
|Downloads||152 total (10 in last 30 days)|
|Status||Docs uploaded by user|
Build status unknown [no reports yet]
- stm-orelse-io-0.1.tar.gz [browse] (Cabal source package)
- Package description (included in the package)
For package maintainers and hackage trustees