module type RefOps =sig
..end
Reference operators ala C. Mutates a reference value. x -= y
is
the same as x := !x - y
.
type
bat__refops_t
val (+=) : bat__refops_t Stdlib.ref ->
bat__refops_t -> unit
val (-=) : bat__refops_t Stdlib.ref ->
bat__refops_t -> unit
val ( *= ) : bat__refops_t Stdlib.ref ->
bat__refops_t -> unit
val (/=) : bat__refops_t Stdlib.ref ->
bat__refops_t -> unit