]> gitweb.factorcode.org Git - factor.git/commitdiff
combinators.short-circuit.smart: Fix typo
authorgifti258 <80504430+gifti258@users.noreply.github.com>
Mon, 20 Dec 2021 18:34:25 +0000 (19:34 +0100)
committerDoug Coleman <doug.coleman@gmail.com>
Mon, 20 Dec 2021 18:54:19 +0000 (12:54 -0600)
basis/combinators/short-circuit/smart/smart-docs.factor

index 941069cc006c4927e643919d1f48f80b32830230..a51632904348908b22587fd5810b1b130cb7bc01 100644 (file)
@@ -7,7 +7,7 @@ HELP: &&
 { $values
      { "quots" "a sequence of quotations" }
      { "quot" quotation } }
-{ $description "Infers the number of arguments that each quotation takes from the stack. Eacn quotation must take the same number of arguments. Returns true if every quotation yields true, and stops early if one yields false." }
+{ $description "Infers the number of arguments that each quotation takes from the stack. Each quotation must take the same number of arguments. Returns true if every quotation yields true, and stops early if one yields false." }
 { $examples "Smart combinators will infer the two inputs:"
     { $example "USING: prettyprint kernel math combinators.short-circuit.smart ;"
     "2 3 { [ + 5 = ] [ - -1 = ] } && ."
@@ -19,7 +19,7 @@ HELP: ||
 { $values
      { "quots" "a sequence of quotations" }
      { "quot" quotation } }
-{ $description "Infers the number of arguments that each quotation takes from the stack. Eacn quotation must take the same number of arguments. Returns true if any quotation yields true, and stops early when one yields true." }
+{ $description "Infers the number of arguments that each quotation takes from the stack. Each quotation must take the same number of arguments. Returns true if any quotation yields true, and stops early when one yields true." }
 { $examples "Smart combinators will infer the two inputs:"
     { $example "USING: prettyprint kernel math combinators.short-circuit.smart ;"
     "2 3 { [ - 1 = ] [ + 5 = ] } || ."