]> gitweb.factorcode.org Git - factor.git/commitdiff
sequences: correct docs for find-index-from
authorrazetime <raghuallthetime@hotmail.com>
Mon, 9 Jan 2023 15:53:04 +0000 (21:23 +0530)
committerrazetime <raghuallthetime@hotmail.com>
Mon, 9 Jan 2023 15:57:03 +0000 (21:27 +0530)
core/sequences/sequences-docs.factor

index cfd37cccba86c03ae21510d91a02fed95d89bcaf..0d95ae06a71f47eeaf327b8c2bc7c057fcabd045 100644 (file)
@@ -549,7 +549,8 @@ HELP: find-index-from
           { "quot" { $quotation ( ... elt i -- ... ? ) } }
           { "i" { $maybe "the index of the first match" } }
           { "elt" { $maybe "the first matching element" } } }
-{ $description "A variant of " { $link find-from } " where the quotation takes both an element and its index." } ;
+{ $description "A variant of " { $link find-from } " where the quotation takes both an element and its index."
+  "The search starts from list index " { $snippet "n" } ", skipping elements up until that index." } ;
 
 HELP: map-find
 { $values { "seq" sequence } { "quot" { $quotation ( ... elt -- ... result/f ) } } { "result" "the first non-false result of the quotation" } { "elt" { $maybe "the first matching element" } } }