Handbook
Glossary
type>class ( n -- class )
Factor handbook
»
The implementation
»
VM memory layouts
»
Type numbers
Prev:
tag ( object -- n )
Next:
type-number ( class -- n )
Vocabulary
classes
.
builtin
Inputs
n
a non-negative integer
Outputs
class
a
class
Word description
Outputs a builtin class whose instances are precisely those having a given pointer tag.
Notes
The parameter
n
must be between 0 and the return value of
num-types
.
Definition
USING:
namespaces
sequences
;
IN:
classes.builtin
:
type>class
( n -- class )
builtins
get-global
nth
;
foldable
flushable