package batteries

  1. Overview
  2. Docs
A community-maintained standard library extension

Install

Dune Dependency

Authors

Maintainers

Sources

v3.3.0.tar.gz
sha256=40d18485911e343500a5636bbf1d84e2ee32f924fe87e5fd13a37641a4d8f226
md5=fe4da12b678a82faaeda4e58492ea871

doc/batteries.unthreaded/BatNumber/module-type-RefOps/index.html

Module type BatNumber.RefOps

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 ref -> bat__refops_t -> unit
val (-=) : bat__refops_t ref -> bat__refops_t -> unit
val (*=) : bat__refops_t ref -> bat__refops_t -> unit
val (/=) : bat__refops_t ref -> bat__refops_t -> unit
OCaml

Innovation. Community. Security.