sequences-docs: add some related-words
parent
5fac469a8c
commit
5d7299b1af
|
@ -1026,11 +1026,15 @@ HELP: head-slice*
|
||||||
{ $description "Outputs a virtual sequence sharing storage with all elements of " { $snippet "seq" } " until the " { $snippet "n" } "th element from the end. In other words, it outputs a sequence of the first " { $snippet "l-n" } " elements of the input sequence, where " { $snippet "l" } " is its length." }
|
{ $description "Outputs a virtual sequence sharing storage with all elements of " { $snippet "seq" } " until the " { $snippet "n" } "th element from the end. In other words, it outputs a sequence of the first " { $snippet "l-n" } " elements of the input sequence, where " { $snippet "l" } " is its length." }
|
||||||
{ $errors "Throws an error if the index is out of bounds." } ;
|
{ $errors "Throws an error if the index is out of bounds." } ;
|
||||||
|
|
||||||
|
{ head-slice head-slice* } related-words
|
||||||
|
|
||||||
HELP: tail-slice*
|
HELP: tail-slice*
|
||||||
{ $values { "seq" sequence } { "n" "a non-negative integer" } { "slice" "a slice" } }
|
{ $values { "seq" sequence } { "n" "a non-negative integer" } { "slice" "a slice" } }
|
||||||
{ $description "Outputs a virtual sequence sharing storage with the last " { $snippet "n" } " elements of the input sequence." }
|
{ $description "Outputs a virtual sequence sharing storage with the last " { $snippet "n" } " elements of the input sequence." }
|
||||||
{ $errors "Throws an error if the index is out of bounds." } ;
|
{ $errors "Throws an error if the index is out of bounds." } ;
|
||||||
|
|
||||||
|
{ tail-slice tail-slice* } related-words
|
||||||
|
|
||||||
HELP: head
|
HELP: head
|
||||||
{ $values { "seq" sequence } { "n" "a non-negative integer" } { "headseq" "a new sequence" } }
|
{ $values { "seq" sequence } { "n" "a non-negative integer" } { "headseq" "a new sequence" } }
|
||||||
{ $description "Outputs a new sequence consisting of the first " { $snippet "n" } " elements of the input sequence." }
|
{ $description "Outputs a new sequence consisting of the first " { $snippet "n" } " elements of the input sequence." }
|
||||||
|
|
Loading…
Reference in New Issue