Formatting improvements:
Bonsai module documentation commentComputation type in BonsaiUpdate function signatures:
Bonsai.Value.cutoff to move the equal parameter to the endClock.every to add when_to_start_next_effect and optional trigger_on_activate parametersBonsai.wrap, actor0, and actor1 functions to include optional reset parameterBonsai.Edge.on_change, effect_on_change, and on_change' functions to remove Source_code_position.t parameterLet_syntax.sub function in Bonsai to accept here parameterLet_syntax.map function in Bonsai to accept an optional here parameterBonsai.Debug.to_dot function signature to accept an optional pre_process parameterAdd new functions:
Bonsai.fold_rightBonsai.For_openBonsai.Var.incr_varBonsai.Computation_statusBonsai.state, state_opt, state_machine1, and related functionsBonsai.toggle, Toggle module, and toggle' functionBonsai.of_module0, of_module1, and of_module2Bonsai.freezeBonsai.scope_modelBonsai.most_recent_some, most_recent_value_satisfying, and previous_valueBonsai.assoc_set and assoc_listBonsai.with_model_resetter'Bonsai.yoinkBonsai.subBonsai.cutoff, switch, and map functions in Let_syntaxBonsai.Debug.on_change and on_change_print_sBonsai.Expert, Map, and Stable modulesmodel_cutoff function