diff --git a/core/sequences/sequences-docs.factor b/core/sequences/sequences-docs.factor index 906d7c2e75..e88a0871ad 100644 --- a/core/sequences/sequences-docs.factor +++ b/core/sequences/sequences-docs.factor @@ -850,8 +850,8 @@ HELP: collapse-slice HELP: { $values { "from" "a non-negative integer" } { "to" "a non-negative integer" } { "seq" sequence } { "slice" slice } } -{ $description "Outputs a new virtual sequence sharing storage with the subrange of elements in " { $snippet "seq" } " with indices starting from and including " { $snippet "m" } ", and up to but not including " { $snippet "n" } "." } -{ $errors "Throws an error if " { $snippet "m" } " or " { $snippet "n" } " is out of bounds." } +{ $description "Outputs a new virtual sequence sharing storage with the subrange of elements in " { $snippet "seq" } " with indices starting from and including " { $snippet "from" } ", and up to but not including " { $snippet "to" } "." } +{ $errors "Throws an error if " { $snippet "from" } " or " { $snippet "to" } " are out of bounds." } { $notes "Taking the slice of a slice outputs a slice of the underlying sequence, instead of a slice of a slice. This means that you cannot assume that the " { $snippet "from" } " and " { $snippet "to" } " slots of the resulting slice will be equal to the values you passed to " { $link } "." } ; { subseq } related-words