From 5bb2aa6cef86734f8bcb5a37adf17a948b51d9d5 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Sun, 14 Jan 2024 14:34:55 -0800 Subject: [PATCH] sequences: improve docs for subseq-index. --- core/sequences/sequences-docs.factor | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/sequences/sequences-docs.factor b/core/sequences/sequences-docs.factor index 540296e224..59f3392eb9 100644 --- a/core/sequences/sequences-docs.factor +++ b/core/sequences/sequences-docs.factor @@ -1373,7 +1373,7 @@ HELP: subseq-starts-at? 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 } "." } ; +{ $description "Outputs the start index of the first contiguous subsequence equal to " { $snippet "subseq" } ". If no matching subsequence is found, outputs " { $link f } "." } ; HELP: subseq-index-from { $values { "n" "a start index" } { "seq" sequence } { "subseq" sequence } { "i/f" "a start index or " { $snippet "f" } } } @@ -1384,11 +1384,11 @@ HELP: subseq-start-from { "subseq" object } { "seq" sequence } { "n" integer } { "i/f" { $maybe integer } } } -{ $description "Outputs the start index of the first contiguous subsequence equal to " { $snippet "subseq" } ", or " { $link f } " if no matching subsequence is found starting from " { $snippet "n" } "." } ; +{ $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: subseq-start { $values { "subseq" sequence } { "seq" sequence } { "i/f" "a start index or " { $snippet "f" } } } -{ $description "Outputs the start index of the first contiguous subsequence equal to " { $snippet "subseq" } ", or " { $link f } " if no matching subsequence is found." } ; +{ $description "Outputs the start index of the first contiguous subsequence equal to " { $snippet "subseq" } ". If no matching subsequence is found, outputs " { $link f } "." } ; HELP: subseq? { $values { "subseq" sequence } { "seq" sequence } { "?" boolean } } -- 2.34.1