]> gitweb.factorcode.org Git - factor.git/commitdiff
fix more docs typos
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 21 Oct 2009 23:11:24 +0000 (18:11 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 21 Oct 2009 23:11:24 +0000 (18:11 -0500)
basis/furnace/auth/auth-docs.factor
basis/math/primes/primes-docs.factor
basis/persistent/heaps/heaps-docs.factor
extra/models/combinators/combinators-docs.factor

index c7fc0d5f0b676ad1929218b50be2fe911afdccd3..5aab80876379bd5dff7628d6c54de4d6ea18dc5d 100644 (file)
@@ -63,7 +63,7 @@ HELP: realm
 { $class-description "The class of authentication realms. See " { $link "furnace.auth.realms" } " for details." } ;
 
 HELP: uchange
-{ $values { "key" symbol } { "quot" { $quotation "( old -- new )" } } }
+{ $values { "quot" { $quotation "( old -- new )" } } { "key" symbol } }
 { $description "Applies the quotation to the old value of the user profile variable, and assigns the resulting value back to the variable." } ;
 
 HELP: uget
index 7f525debfe2f3b431707a86c049ae3dd9f1e3193..74aa2ebca36763d93ec9016d03e40e5b411c0ed1 100644 (file)
@@ -44,7 +44,8 @@ HELP: random-prime
 
 HELP: unique-primes
 { $values
-    { "numbits" integer } { "n" integer }
+    { "n" integer }
+    { "numbits" integer }
     { "seq" sequence }
 }
 { $description "Generates a sequence of " { $snippet "n" } " unique prime numbers with exactly " { $snippet "numbits" } " bits." } ;
index 49852bac4db6c4e76a322be58c2b68cf2d996b96..31422f23b9c894fec7b493a474db310fb30f10b2 100644 (file)
@@ -18,7 +18,7 @@ HELP: pheap-peek
 { $description "Gets the object in the heap with minumum priority." } ;
 
 HELP: pheap-push
-{ $values { "heap" "a persistent heap" } { "value" object } { "prio" "a priority" } { "newheap" "a new persistent heap" } }
+{ $values { "value" object } { "prio" "a priority" } { "heap" "a persistent heap" } { "newheap" "a new persistent heap" } }
 { $description "Creates a new persistent heap also containing the given object of the given priority." } ;
 
 HELP: pheap-pop*
index 5ccfe1f758739bbb1af8f3a283d44781444bfac6..8ac365710599e45a474b5878ef45f5af90b4962e 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 { "oldval" "starting value" } { "quot" "applied to update and previous values" } { "model" model } { "model" model } }
+{ $values { "model" model } { "oldval" "starting value" } { "quot" "applied to update and previous values" } { "model" model } }
 { $description "Similar to " { $link reduce } " but works on models, applying a quotation to the previous and new values at each update" } ;
 
 HELP: switch-models
@@ -38,4 +38,4 @@ ARTICLE: "models.combinators" "Extending models"
 "Also, it provides methods of manipulating and combining models, expecially useful when programming user interfaces: "
 "The output models of some gadgets (see " { $vocab-link "ui.gadgets.controls" } " ) can be manipulated and used as the input models of others. " ;
 
-ABOUT: "models.combinators"
\ No newline at end of file
+ABOUT: "models.combinators"