when-model ( model quot cond -- model )


Vocabulary
models.combinators

Inputs
modela model
quotcalled on the model if the quot yields true
conda quotation called on the model's value, yielding a boolean value


Outputs
modela model


Word description
Calls quot when model updates if its value meets the condition set in cond

Definition