From 4645e409c3a3745c56a2febfe8bb87806eb34488 Mon Sep 17 00:00:00 2001 From: Keita Haga Date: Wed, 5 Jan 2011 14:01:11 +0900 Subject: [PATCH] sequences: fix typos in docs --- core/sequences/sequences-docs.factor | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/sequences/sequences-docs.factor b/core/sequences/sequences-docs.factor index 29067a133e..c3711c3520 100644 --- a/core/sequences/sequences-docs.factor +++ b/core/sequences/sequences-docs.factor @@ -872,7 +872,7 @@ HELP: tail* HELP: shorter? { $values { "seq1" sequence } { "seq2" sequence } { "?" "a boolean" } } -{ $description "Tets if the length of " { $snippet "seq1" } " is smaller than the length of " { $snippet "seq2" } "." } ; +{ $description "Tests if the length of " { $snippet "seq1" } " is smaller than the length of " { $snippet "seq2" } "." } ; HELP: head? { $values { "seq" sequence } { "begin" sequence } { "?" "a boolean" } } @@ -1198,7 +1198,7 @@ HELP: 2selector { $values { "quot" quotation } { "selector" quotation } { "accum1" vector } { "accum2" vector } } -{ $description "Creates two new vectors to accumultate values based on a predicate. The first vector accumulates values for which the predicate yields true; the second for false." } ; +{ $description "Creates two new vectors to accumulate values based on a predicate. The first vector accumulates values for which the predicate yields true; the second for false." } ; HELP: 2unclip-slice { $values @@ -1235,7 +1235,7 @@ HELP: follow { $values { "obj" object } { "quot" { $quotation "( ... prev -- ... result/f )" } } { "seq" sequence } } -{ $description "Outputs a sequence containing the input object and all of the objects generated by successively feeding the result of the quotation called on the input object to the quotation recursuively. Objects yielded by the quotation are added to the output sequence until the quotation yields " { $link f } ", at which point the recursion terminates." } +{ $description "Outputs a sequence containing the input object and all of the objects generated by successively feeding the result of the quotation called on the input object to the quotation recursively. Objects yielded by the quotation are added to the output sequence until the quotation yields " { $link f } ", at which point the recursion terminates." } { $examples "Get random numbers until zero is reached:" { $unchecked-example "USING: random sequences prettyprint math ;" @@ -1293,7 +1293,7 @@ HELP: new-like HELP: push-either { $values { "elt" object } { "quot" quotation } { "accum1" vector } { "accum2" vector } } -{ $description "Pushes the input object onto one of the accumualators; the first if the quotation yields true, the second if false." } ; +{ $description "Pushes the input object onto one of the accumulators; the first if the quotation yields true, the second if false." } ; HELP: sequence-hashcode { $values