Timed references for imperative state. This module provides an alternative type for references (or mutable cells) supporting undo/redo operations. In particular, an abstract notion of time is used to capture the state of the references at any given point, so that it can be restored. Note that usual reference operations only have a constant time / memory overhead (compared to those of the standard library).

Moreover, we provide an alternative implementation based on the references of the standard library (Pervasives module). However, it is less efficient than the first one.


Published: 06 Jul 2018

Dependencies (2)

  1. ocamlfind build
  2. ocaml >= "4.03.0" & < "5.0"

Dev Dependencies


Used by (2)

  1. bindlib >= "6.0.0"
  2. lambdapi