@hackage safe-freeze0.0

Support for safely freezing multiple arrays in the ST monad.

  • Categories

    • License

      BSD-3-Clause

    • Maintainer

      Reiner Pope <reiner.pope@gmail.com>

    • Versions

      • 0.2.1 Sat, 2 Jun 2012
      • 0.2 Fri, 9 Mar 2012
      • 0.0 Fri, 9 Oct 2009

    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.