]> gitweb.factorcode.org Git - factor.git/blobdiff - core/math/math-docs.factor
Revert "core: find-last-integer -> find-last-integer-from for symmetry"
[factor.git] / core / math / math-docs.factor
index 6fb62b34e8e6f3f1bee39e4ad7fb38228d9639a0..82f44375fbca19c9f4b9752e486e1b8c411c85ce 100644 (file)
@@ -454,7 +454,7 @@ HELP: find-integer
 { $description "Applies the quotation to each integer from 0 up to " { $snippet "n" } ", excluding " { $snippet "n" } ". Iteration stops when the quotation outputs a true value or the end is reached. If the quotation yields a true value for some integer, this word outputs that integer. Otherwise, this word outputs " { $link f } "." }
 { $notes "This word is used to implement " { $link find } "." } ;
 
-HELP: find-last-integer-from
+HELP: find-last-integer
 { $values { "n" integer } { "quot" { $quotation ( ... i -- ... ? ) } } { "i/f" { $maybe integer } } }
 { $description "Applies the quotation to each integer from " { $snippet "n" } " down to 0, inclusive. Iteration stops when the quotation outputs a true value or 0 is reached. If the quotation yields a true value for some integer, the word outputs that integer. Otherwise, the word outputs " { $link f } "." }
 { $notes "This word is used to implement " { $link find-last } "." } ;