]> gitweb.factorcode.org Git - factor.git/commitdiff
models.combinators: fix help-lint
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 1 Sep 2023 23:16:19 +0000 (16:16 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 1 Sep 2023 23:16:19 +0000 (16:16 -0700)
extra/models/combinators/combinators-docs.factor

index a7e3e8c4c7beb9c6c69b36738b4ea564c0d488fb..ea98ad3e7a2dfc334d89d094680959048663cd9d 100644 (file)
@@ -10,7 +10,7 @@ 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
@@ -18,7 +18,7 @@ HELP: switch-models
 { $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