Vocabulary
sets

Inputs
seqa sequence
quota quotation with stack effect ( ... elt -- ... elts )


Outputs
newseqa sequence


Word description
Maps a quotation over a sequence, concatenates the results of the mapping, and removes duplicates.

Definition


: gather
( ... seq quot: ( ... elt -- ... elts ) -- ... newseq )
map concat members ; inline