@hackage / safe-freeze

Support for safely freezing multiple arrays in the ST monad.

Latest0.2.1

About

Metadata

  • Last updated , by ReinerPope
  • License BSD-3-Clause
  • Maintained by: Reiner Pope <reiner.pope@gmail.com>

  • Lottery factor: 0

Links

Installation

Readme

Support for safely freezing multiple arrays in the ST monad. Developed in http://haskell.reinerpope.com/2009/09/making-runstarray-more-flexible-or.html.

The new monad is defined in Control.Monad.ST.Freeze. An example of its use is given in Data.Vector.Generic.Mutable.STFreeze. The module Data.STRef.Freeze is a reexports of Data.STRef but lifted to the new ST monad.