INTERSECTION:
Factor handbook » The language » Objects » Classes » Intersection classes

Next:define-intersection-class ( class participants -- )


Vocabulary
syntax

Syntax
INTERSECTION: class participants... ;


Inputs
None

Outputs
None

Word description
Defines an intersection class. An object is an instance of an intersection class if it is an instance of all of its participants.

See also
intersection-class, define-intersection-class

Definition