From a6223e1ae371e719a42e35b88d24f6adc464bb5b Mon Sep 17 00:00:00 2001 From: Alexander Iljin Date: Fri, 17 Feb 2017 01:02:32 +0300 Subject: [PATCH] sequences-docs: simplify the head* description --- core/sequences/sequences-docs.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/sequences/sequences-docs.factor b/core/sequences/sequences-docs.factor index b0310da2b3..c80d0b1a3c 100644 --- a/core/sequences/sequences-docs.factor +++ b/core/sequences/sequences-docs.factor @@ -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* ."