The safe-freeze package
Support for safely freezing multiple arrays in the ST monad. Developed in http://reinerp.wordpress.com/2009/09/18/making-runstarray-more-flexible/.
The new monad is defined in Control.Monad.ST.Freeze. An example of its use is given in Data.Array.Vector.STFreeze. The modules Data.Array.Vector.STFreeze and Data.STRef.Freeze are reexports of Data.Array.Vector and Data.STRef but lifted to the new ST monad.
Properties
| Versions | 0.0, 0.2 |
|---|---|
| Dependencies | base (<4.2), category-extras (≥0.44.4 & <0.54), transformers (<0.2), uvector (≥0.1.0.4 & <0.2) |
| License | BSD3 |
| Author | Reiner Pope <reiner.pope@gmail.com> |
| Maintainer | Reiner Pope <reiner.pope@gmail.com> |
| Stability | experimental |
| Category | Data |
| Upload date | Fri Oct 9 15:01:06 UTC 2009 |
| Uploaded by | ReinerPope |
| Built on | ghc-6.10 |
| Build failure | ghc-6.12 (log), ghc-7.0 (log), ghc-7.4 (log) |
Modules
- Control
- Monad
- Data
- Array
- STRef
Downloads
- safe-freeze-0.0.tar.gz (Cabal source package)
- package description (included in the package)