The stateref package
A collection of type-classes generalizing the read/write/modify operations for stateful variables provided by things like IORef, TVar, &c. Note that The interface has changed a bit from the 0.2.* version. "*Ref" functions are now called "*Reference" and new "*Ref" function exist with simpler signatures. The new Ref existential type provides a convenient monad-indexed reference type, and the HasRef class indicates monads for which there is a default reference type for every referent.
Properties
| Versions | 0.2.1.1, 0.3 |
|---|---|
| Dependencies | base (≥3 & <5), mtl |
| License | PublicDomain |
| Author | James Cook <mokus@deepbondi.net> |
| Maintainer | James Cook <mokus@deepbondi.net> |
| Stability | provisional |
| Category | Data |
| Home page | http://code.haskell.org/~mokus/stateref/ |
| Upload date | Thu Nov 19 17:27:06 UTC 2009 |
| Uploaded by | JamesCook |
| Built on | ghc-6.10, ghc-6.12, ghc-7.0, ghc-7.2 |
| Distributions | NixOS: 0.3 |
Modules
Downloads
- stateref-0.3.tar.gz (Cabal source package)
- package description (included in the package)