define-predicate-class ( class superclass definition -- )
Factor handbook » The language » Objects » Classes » Predicate classes

Prev:PREDICATE:
Next:predicate-class


Vocabulary
classes.predicate

Inputs
classa class
superclassa class
definitiona quotation with stack effect ( superclass -- ? )


Outputs
None

Word description
Defines a predicate class. This is the run time equivalent of PREDICATE:.

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

Side effects
Modifies class

See also
predicate-class, PREDICATE:

Definition