delete ( elt set -- )
Factor handbook » The language » Collections » Sets » Operations on sets

Prev:adjoin ( elt set -- )
Next:clear-set ( set -- )


Vocabulary
sets

Inputs
eltan object
seta set


Outputs
None

Word description
Destructively removes elt from set. If the element is not present, this does nothing.

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

Side effects
Modifies set

Definition

GENERIC: delete ( elt set -- )


Methods