The statethread package
The ST monad and STRefs in a portable form. This package implements state threads as wrapper around IO and IORefs. Your compiler must support rank-2-types, IORefs, unsafePerformIO and unsafeInterleaveIO. The package can be used as drop-in replacement for the st package.
Properties
| Versions | 0.1, 0.1.1 |
|---|---|
| Dependencies | applicative (1.0.*), base (≥1.0 & <2), transformers (≥0.2 & <0.4) |
| License | BSD3 |
| Maintainer | haskell@henning-thielemann.de |
| Category | Data Structures, Monads |
| Source repository | darcs get http://code.haskell.org/~thielema/statethread/ |
| Upload date | Sat Apr 7 15:22:47 UTC 2012 |
| Uploaded by | HenningThielemann |
| Build failure | ghc-7.4 (log) |
Modules
- Control
- Monad
- Control.Monad.ST
- Control.Monad.ST.Lazy
- Control.Monad.ST.Strict
- Control.Monad.ST
- Monad
- Data
- Data.STRef
- Data.STRef.Lazy
- Data.STRef.Strict
- Data.STRef
Downloads
- statethread-0.1.1.tar.gz (Cabal source package)
- package description (included in the package)