define-intersection-class ( class participants -- )
Factor handbook » The language » Objects » Classes » Intersection classes

Prev:INTERSECTION:
Next:class-participants ( class -- seq )


Vocabulary
classes.intersection

Inputs
classa class
participantsa sequence of classs


Outputs
None

Word description
Defines a intersection class with specified participants. This is the run time equivalent of INTERSECTION:.

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

Side effects
Modifies class

See also
intersection-class, INTERSECTION:

Definition