Handbook
Glossary
union-class
Factor handbook
»
The language
»
Objects
»
Classes
»
Union classes
Prev:
class-members ( class -- seq )
Next:
union-class? ( object -- ? )
Vocabulary
classes
.
union
Class description
The class of union classes.
See also
define-union-class
,
UNION:
Definition
USING:
classes
kernel
words
;
IN:
classes.union
PREDICATE:
union-class
<
class
"metaclass"
word-prop
union-class
eq?
;
Methods
USING:
classes
classes.algebra.private
classes.union
;
M:
union-class
(flatten-class)
class-members
<anonymous-union>
(flatten-class)
;
USING:
classes
classes.union
kernel
sequences
words
;
M:
union-class
instance?
"members"
word-prop
[
instance?
]
with
any?
;
USING:
classes
classes.algebra.private
classes.union
;
M:
union-class
normalize-class
class-members
<anonymous-union>
normalize-class
;
USING:
classes.private
classes.union
kernel
;
M:
union-class
rank-class
drop
7
;
USING:
classes
classes.union
kernel
prettyprint.backend
prettyprint.sections
see.private
vocabs.prettyprint
;
M:
union-class
see-class*
<colon
\
UNION:
pprint-word
dup
pprint-word
class-members
pprint-elements
pprint-;
block>
;
USING:
classes
classes.union
classes.union.private
sequences
;
M:
union-class
union-of-builtins?
class-members
[
union-of-builtins?
]
all?
;
USING:
classes.private
classes.union
classes.union.private
;
M:
union-class
update-class
define-union-predicate
;