Denys Duchier
This is a functional wrapper around the standard cell datatype.
The module exports only one function: a New
constructor
{Cell.new V}
V
.
Each functional cell instance C
has the following features:
{C.get ?V}
V
of C
{C.put V}
C
to V
{C.getPut Old New}
Old
of C
and replaces it with New
{C.clone ?C2}
C
's
current value