fix bootstrap issue

cvs
Slava Pestov 2006-01-12 05:49:15 +00:00
parent 712ec2ce29
commit cd3e4172e9
1 changed files with 1 additions and 2 deletions

View File

@ -14,8 +14,7 @@ HELP: reduce "( seq identity quot -- result )"
{ $description "Combines successive elements of the sequence using a binary operation, and outputs the final result. On the first iteration, the two inputs to the quotation are " { $snippet "identity" } ", and the first element of the sequence. On successive iterations, the first input is the result of the previous iteration, and the second input is the corresponding element of the sequence." } { $description "Combines successive elements of the sequence using a binary operation, and outputs the final result. On the first iteration, the two inputs to the quotation are " { $snippet "identity" } ", and the first element of the sequence. On successive iterations, the first input is the result of the previous iteration, and the second input is the corresponding element of the sequence." }
{ $examples { $examples
{ $example "{ 1 5 3 } 0 [ + ] reduce ." "9" } { $example "{ 1 5 3 } 0 [ + ] reduce ." "9" }
} } ;
{ $see-also sum product } ;
HELP: accumulate "( seq identity quot -- newseq )" HELP: accumulate "( seq identity quot -- newseq )"
{ $values { "seq" "a sequence" } { "quot" "a quotation with stack effect " { $snippet "( prev elt -- next )" } } } { $values { "seq" "a sequence" } { "quot" "a quotation with stack effect " { $snippet "( prev elt -- next )" } } }