Handbook
Glossary
smallest-class ( classes -- class/f )
Factor handbook
»
The language
»
Objects
»
Classes
»
Class linearization
Prev:
sort-classes ( seq -- newseq )
Next:
rank-class ( class -- n )
Vocabulary
classes
.
algebra
Inputs
classes
a sequence of class words
Outputs
class/f
a
class
or
f
Word description
Outputs a minimum class from the given sequence.
Definition
USING:
kernel
sequences
sorting
;
IN:
classes.algebra
:
smallest-class
( classes -- class/f )
[
f
]
[
inv-sort
[
]
[
[
class<=
]
most
]
map-reduce
]
if-empty
;