]> gitweb.factorcode.org Git - factor.git/commitdiff
models: fix docs for compute-model.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 14 Nov 2020 18:46:31 +0000 (10:46 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 14 Nov 2020 18:46:31 +0000 (10:46 -0800)
basis/models/models-docs.factor

index 9207e3ac5170fc8b5f398b8b574460c4b186f8c4..7b1e65ee89f02d54a6781f4d4d33e1d918968d69 100644 (file)
@@ -47,7 +47,7 @@ HELP: deactivate-model
 { $warning "Calls to " { $link activate-model } " and " { $link deactivate-model } " should be balanced to keep the reference counting consistent, otherwise " { $link model-changed } " might be called at the wrong time or not at all." } ;
 
 HELP: compute-model
-{ $values { "model" model } { "value" object} }
+{ $values { "model" model } { "value" object } }
 { $description "Activate and immediately deactivate the model, forcing recomputation of its value, which is returned. If the model is already activated, no dependencies are recalculated.  Useful when using models outside of gadget context or for testing." } ;
 
 HELP: model-changed