Skip to content

Commit

Permalink
models.combinators: fix help-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Sep 1, 2023
1 parent 0baf04b commit 263ae23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extra/models/combinators/combinators-docs.factor
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ HELP: filter-model
{ $description "Creates a model that uses the updates of another model only when they satisfy a given predicate" } ;

HELP: fold
{ $values { "model" model } { "oldval" "starting value" } { "quot" "applied to update and previous values" } { "model" model } }
{ $values { "model" model } { "oldval" "starting value" } { "quot" "applied to update and previous values" } }
{ $description "Similar to " { $link reduce } " but works on models, applying a quotation to the previous and new values at each update" } ;

HELP: switch-models
{ $values { "model1" model } { "model2" model } { "model'" model } }
{ $description "Creates a model that starts with the behavior of model2 and switches to the behavior of model1 on its update" } ;

HELP: <mapped>
{ $values { "model" model } { "quot" "applied to model's value on updates" } { "model" model } }
{ $values { "model" model } { "quot" "applied to model's value on updates" } }
{ $description "An expanded version of " { $link <arrow> } ". Use " { $link fmap } " instead." } ;

HELP: when-model
Expand Down

0 comments on commit 263ae23

Please sign in to comment.