define-singleton-class ( word -- )
Factor handbook » The language » Objects » Classes » Singleton classes

Prev:SINGLETONS:
Next:singleton-class? ( object -- ? )


Vocabulary
classes.singleton

Inputs
worda new word


Outputs
None

Word description
Defines a singleton class. This is the run-time equivalent of SINGLETON:.

See also
SINGLETON:

Definition