-
Formatting improvements:
- Remove unnecessary newline in the
Bonsai
module documentation comment - Remove extra line in Bonsai documentation
- Remove line break in the comment for
Computation
type inBonsai
- Remove unnecessary newline in the
-
Update function signatures:
- Modify
Bonsai.Value.cutoff
to move theequal
parameter to the end - Update
Clock.every
to addwhen_to_start_next_effect
and optionaltrigger_on_activate
parameters - Update
Bonsai.wrap
,actor0
, andactor1
functions to include optionalreset
parameter - Update
Bonsai.Edge.on_change
,effect_on_change
, andon_change'
functions to removeSource_code_position.t
parameter - Update
Let_syntax.sub
function inBonsai
to accepthere
parameter - Update
Let_syntax.map
function inBonsai
to accept an optionalhere
parameter - Modify
Bonsai.Debug.to_dot
function signature to accept an optionalpre_process
parameter
- Modify
-
Add new functions:
Bonsai.fold_right
Bonsai.For_open
Bonsai.Var.incr_var
Bonsai.Computation_status
Bonsai.state
,state_opt
,state_machine1
, and related functionsBonsai.toggle
,Toggle
module, andtoggle'
functionBonsai.of_module0
,of_module1
, andof_module2
Bonsai.freeze
Bonsai.scope_model
Bonsai.most_recent_some
,most_recent_value_satisfying
, andprevious_value
Bonsai.assoc_set
andassoc_list
Bonsai.with_model_resetter'
Bonsai.yoink
Bonsai.sub
Bonsai.cutoff
,switch
, andmap
functions inLet_syntax
Bonsai.Debug.on_change
andon_change_print_s
Bonsai.Expert
,Map
, andStable
modules
-
Remove
model_cutoff
function