]> gitweb.factorcode.org Git - factor.git/blobdiff - core/sequences/sequences-docs.factor
sequences: rename subsequence? words to subseq? again.
[factor.git] / core / sequences / sequences-docs.factor
index 5f9c5f15805067550b9a10e4b6a6deaebc81166a..54e7d705b755d7323d583b251d3c55dc695802b3 100644 (file)
@@ -1194,11 +1194,11 @@ HELP: subseq-starts-at?
 { $values { "i" "a start index" } { "seq" sequence } { "subseq" sequence } { "?" boolean } }
 { $description "Outputs " { $snippet "t" } " if the subseq starts at the " { $snippet "i" } "th element or outputs " { $link f } " if the sequence is not at that position." } ;
 
-HELP: subsequence-starts
+HELP: subseq-index
 { $values { "seq" sequence } { "subseq" sequence } { "i/f" "a start index or " { $snippet "f" } } }
 { $description "Outputs the start index of the first contiguous subsequence equal to " { $snippet "subseq" } ", starting the search from the " { $snippet "n" } "th element. If no matching subsequence is found, outputs " { $link f } "." } ;
 
-HELP: subsequence-starts-from
+HELP: subseq-index-from
 { $values { "n" "a start index" } { "seq" sequence } { "subseq" sequence } { "i/f" "a start index or " { $snippet "f" } } }
 { $description "Outputs the start index of the first contiguous subsequence equal to " { $snippet "subseq" } ", starting the search from the " { $snippet "n" } "th element. If no matching subsequence is found, outputs " { $link f } "." } ;
 
@@ -1947,8 +1947,8 @@ ARTICLE: "sequences-search" "Searching sequences"
 "Finding the start of a subsequence:"
 { $subsections
     subseq-start
-    subsequence-starts
-    subsequence-starts-from
+    subseq-index
+    subseq-index-from
     subseq-starts-at?
 }
 "Finding the index of an element satisfying a predicate:"