package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Reference operators ala C. Mutates a reference value. x -= y is the same as x := !x - y.

  • since 2.0
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
OCaml

Innovation. Community. Security.