module Zero_ref: functor (
Info
:
Info
) ->
Ref
with type data = int
Build a reference on an integer, initialized with 0
.
Since Carbon-20101201
include State_builder.S
type
data
Type of the referenced value.
val set : data -> unit
Change the referenced value.
val get : unit -> data
Get the referenced value.
val clear : unit -> unit
Reset the reference to its default value.