Haskell references backed by an IntMap for persistence and reversibility.

Latest on Hackage:0.4

See all snapshots persistent-refs appears in

BSD-3-Clause licensed by Adam C. Foltzer
Maintained by [email protected]

Module documentation for 0.4

This version can be pinned in stack with:[email protected]:cb6a232836741a1de8ad0997b937a48081bfb306c92c0414d31dd2f7d19f0275,1377

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.