Module Bonsai_proc.DebugSource

Sourceval on_change : here:lexing_position -> 'a Value.t -> f:('a -> unit) -> unit Computation.t

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

Sourceval on_change_print_s : here:lexing_position -> '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.

Sourceval to_dot : ?pre_process:bool -> 'a Computation.t -> string
Sourceval bonsai_node_counts : ?pre_process:bool -> 'a Computation.t -> Bonsai.Private.Skeleton.Counts.t
Sourceval enable_incremental_annotations : unit -> unit
Sourceval disable_incremental_annotations : unit -> unit