define-union-class ( class members -- )
Factor handbook > The language > Objects > Classes > Union classes

Prev:UNION:
Next:class-members ( class -- seq )


Vocabulary
classes.union

Inputs and outputs
classa class
membersa sequence of classes


Word description
Defines a union class with specified members. This is the run time equivalent of UNION:.

Notes
This word must be called from inside with-compilation-unit.

Side effects
Modifies class

See also
union-class, UNION:

Definition