1 USING: help.markup help.syntax kernel words ;
4 ARTICLE: "singletons" "Singleton classes"
5 "A singleton is a class with only one instance and with no state."
11 "The set of all singleton classes is itself a class:"
17 HELP: define-singleton-class
18 { $values { "word" "a new word" } }
20 "Defines a singleton class. This is the run-time equivalent of " { $link POSTPONE: SINGLETON: } "." } ;
22 { POSTPONE: SINGLETON: define-singleton-class } related-words
25 { $class-description "The class of singleton classes." } ;