Handbook
Glossary
rank-class ( class -- n )
Factor handbook
»
The language
»
Objects
»
Classes
»
Class linearization
Prev:
smallest-class ( classes -- class/f )
Vocabulary
classes
.
private
Inputs
class
an
object
Outputs
n
an
object
Definition
IN:
classes.private
GENERIC:
rank-class
( class -- n )
Methods
USING:
classes.algebra.private
classes.private
kernel
;
M:
anonymous-complement
rank-class
drop
3
;
USING:
classes.algebra.private
classes.private
kernel
;
M:
anonymous-intersection
rank-class
drop
4
;
USING:
classes.algebra.private
classes.private
kernel
;
M:
anonymous-predicate
rank-class
drop
1.5
;
USING:
classes.algebra.private
classes.private
kernel
;
M:
anonymous-union
rank-class
drop
6
;
USING:
classes.builtin
classes.private
kernel
;
M:
builtin-class
rank-class
drop
0
;
USING:
classes.intersection
classes.private
kernel
;
M:
intersection-class
rank-class
drop
5
;
USING:
classes.maybe
classes.private
kernel
;
M:
maybe
rank-class
drop
6
;
USING:
classes.mixin
classes.private
kernel
;
M:
mixin-class
rank-class
drop
8
;
USING:
classes.predicate
classes.private
kernel
;
M:
predicate-class
rank-class
drop
2
;
USING:
classes.private
classes.tuple
kernel
;
M:
tuple-class
rank-class
drop
1
;
USING:
classes.private
classes.union
kernel
;
M:
union-class
rank-class
drop
7
;