sequences-docs: simplify the head* description

char-rename
Alexander Iljin 2017-02-17 01:02:32 +03:00 committed by John Benediktsson
parent 2e43bc6b90
commit a6223e1ae3
1 changed files with 1 additions and 1 deletions

View File

@ -1079,7 +1079,7 @@ HELP: rest
HELP: head*
{ $values { "seq" sequence } { "n" "a non-negative integer" } { "headseq" "a new sequence" } }
{ $description "Outputs a new sequence consisting of 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 new sequence consisting of all elements of " { $snippet "seq" } " until the " { $snippet "n" } "th element from the end. In other words, it removes the last " { $snippet "n" } " elements." }
{ $examples
{ $example "USING: sequences prettyprint ;"
"{ 1 2 3 4 5 6 7 } 2 head* ."