zl.union Reference

Combine two lists without duplicating shared items

zl.union

Description

zl.union accepts a list in both inlets and sends a list out the left outlet that contains the contents of both input lists. The output does not duplicate items in the right list that are in the left list.

Arguments

initial-list [list]

Sets the initial right input list.

Attributes

fuzzy [atom] (default: 0.)

Fuzzy floating-point comparison epsilon

zlmaxsize [atom_long]

Maximum List Length

Common Box Attributes

Messages

bang

Repeat previous output

int

TEXT_HERE

float

TEXT_HERE

list

In left inlet:
Sets left input list, compares with right input, and causes output.

In left inlet:
Sets right input list (does not cause output).

anything

TEXT_HERE

mode

The word 'mode' followed by one of the following words will set the mode of the object:
change, compare, delace, ecils, group, indexmap, iter, join, lace, len, lookup, median, mth, nth, queue, reg, rev, rot, scramble, sect, slice, sort, stack, stream, sub, sum, swap, thin, union, or unique.

See the reference for the corresponding mode for more information.

zlclear

Clears the currently held list.

Output

list

Outputs a list that contains the contents of both input lists. The output does not duplicate items in the right list that are in the left list.

See Also

Name Description
zl
zl.change
zl.compare
zl.delace
zl.ecils
zl.filter
zl.group
zl.indexmap
zl.iter
zl.join
zl.lace
zl.len
zl.lookup
zl.median
zl.mth
zl.nth
zl.queue
zl.reg
zl.rev
zl.rot
zl.scramble
zl.sect
zl.slice
zl.sort
zl.stack
zl.stream
zl.sub
zl.sum
zl.swap
zl.thin
zl.unique