package bonsai

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val on_change : 'a Value.t -> f:('a -> unit) -> unit Computation.t

on_change v ~f executes the function f every time that v is recomputed.

val on_change_print_s : 'a Value.t -> ('a -> Core.Sexp.t) -> unit Computation.t

like on_change, but specialized for printing a sexp of the value that you are watching.

val instrument_computation : 'a Computation.t -> start_timer:(string -> unit) -> stop_timer:(string -> unit) -> 'a Computation.t
val to_dot : ?pre_process:bool -> 'a Computation.t -> string
val enable_incremental_annotations : unit -> unit
val disable_incremental_annotations : unit -> unit
OCaml

Innovation. Community. Security.