package bonsai

  1. Overview
  2. Docs
A library for building dynamic webapps, using Js_of_ocaml

Install

Dune Dependency

Authors

Maintainers

Sources

bonsai-v0.16.0.tar.gz
sha256=1d68aab713659951eba5b85f21d6f9382e0efa8579a02c3be65d9071c6e86303

doc/bonsai/Bonsai/Computation_status/index.html

Module Bonsai.Computation_statusSource

Sourcetype 'input t =
  1. | Active of 'input
  2. | Inactive

Indicates whether a value is available, which depends on whether the computation in which it is computed is active or not. Most of the time values of this type are Active, since it is unusual to interact with inactive computations.

A computation is considered inactive if it resides in the inactive arm of a match%sub or in a removed entry of a Bonsai.assoc.

Sourceval sexp_of_t : ('input -> Sexplib0.Sexp.t) -> 'input t -> Sexplib0.Sexp.t
OCaml

Innovation. Community. Security.