members ( set -- seq )
Factor handbook » The language » Collections » Sets » Operations on sets

Prev:in? ( elt set -- ? )
Next:cardinality ( set -- n )


Vocabulary
sets

Inputs
seta set


Outputs
seqa sequence


Word description
Creates a sequence with a single copy of each member of the set.

Each set type is expected to implement a method on this generic word.

Notes
This will preserve the ordering of unique elements when called on a sequence.

Definition

GENERIC: members ( set -- seq )


Methods