package timed
Timed references for imperative state
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-timed_1.0.tar.gz
sha256=71a59d1face032cc9e611d26122258d09c86b06680a292f913dfbaac2b8dcff3
md5=e88e81c4453283fd806d0511171a6a13
Description
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.
Authors:
- Christophe Raffalli christophe@raffalli.eu
- Rodolphe Lepigre rodolphe.lepigre@inria.fr
Published: 06 Jul 2018
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page