add docs for gather

db4
Doug Coleman 2008-09-17 00:49:55 -05:00
parent 6f91454cf3
commit 7ba89e29aa
1 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
USING: kernel help.markup help.syntax sequences ; USING: kernel help.markup help.syntax sequences quotations ;
IN: sets IN: sets
ARTICLE: "sets" "Set-theoretic operations on sequences" ARTICLE: "sets" "Set-theoretic operations on sequences"
@ -111,3 +111,9 @@ HELP: subset?
HELP: set= HELP: set=
{ $values { "seq1" sequence } { "seq2" sequence } { "?" "a boolean" } } { $values { "seq1" sequence } { "seq2" sequence } { "?" "a boolean" } }
{ $description "Tests if both sequences contain the same elements, disregrading order and duplicates." } ; { $description "Tests if both sequences contain the same elements, disregrading order and duplicates." } ;
HELP: gather
{ $values
{ "seq" sequence } { "quot" quotation }
{ "newseq" sequence } }
{ $description "Maps a quotation onto a sequence, concatenates the results of the mapping, and removes duplicates." } ;