@hackage / persistent-refs

Haskell references backed by an IntMap for persistence and reversibility.

Latest0.4

About

Metadata

  • Last updated , by AdamFoltzer
  • License BSD-3-Clause
  • Maintained by: acfoltzer@gmail.com

  • Lottery factor: 0

Links

Installation

Readme

This library provides support for a persistent version of the Control.Monad.ST.ST monad. Internally, references are backed by a Data.IntMap.IntMap, rather than being mutable variables on the heap. This decreases performance, but can be useful in certain settings, particularly those involving backtracking.