stateref: Abstraction for things that work like IORef.
A collection of type-classes generalizing the read/write/modify operations for stateful variables provided by things like IORef, TVar, &c.
Modules
[Index]
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
usestm | Include instances for STM types | Enabled |
usetmvar | Include instances for TMVar (TMVar not available in hugs' stm implementation). I have been unable to make this flag's value depend on whether or not you're running hugs, so if you are, you'll just have to change it manually. It'd sure be nice if there were either an explicit backtrack command in cabal or if 'buildable:false' would trigger a backtrack. Or if I could say "default: not(impl(hugs))" for this flag. Note that this is irrelevant at the moment because I broke Hugs+STM support by adding MonadIO m => ... instances. If anyone really wants me to fix it, speak up - but those instances are pretty darn convenient. | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- stateref-0.2.1.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.2.1.1, 0.3 |
---|---|
Dependencies | base, mtl, stm [details] |
Tested with | ghc >=0 |
License | BSD-3-Clause |
Author | James Cook <mokus@deepbondi.net> |
Maintainer | James Cook <mokus@deepbondi.net> |
Category | Data |
Home page | http://darcs.deepbondi.net/stateref |
Uploaded | by JamesCook at 2008-10-21T23:49:30Z |
Distributions | Arch:0.3, Debian:0.3, LTSHaskell:0.3, NixOS:0.3, Stackage:0.3 |
Reverse Dependencies | 6 direct, 65 indirect [details] |
Downloads | 10082 total (19 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] |