]> gitweb.factorcode.org Git - factor.git/commitdiff
sequences-docs: fix parameter names in the <slice> description
authorAlexander Iljin <ajsoft@yandex.ru>
Tue, 10 Jan 2017 20:52:31 +0000 (23:52 +0300)
committerAlexander Iljin <ajsoft@yandex.ru>
Fri, 13 Jan 2017 10:31:38 +0000 (13:31 +0300)
core/sequences/sequences-docs.factor

index 906d7c2e750a4de7854879914f39f17d03a9352f..e88a0871adbd89c40ff90b94526157229b9b835c 100644 (file)
@@ -850,8 +850,8 @@ HELP: collapse-slice
 
 HELP: <slice>
 { $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 <slice> } "." } ;
 
 { <slice> subseq } related-words