Handbook
Glossary
tuple>array ( tuple -- array )
Factor handbook
»
The language
»
Objects
»
Tuples
»
Tuple introspection
Prev:
>tuple ( seq -- tuple )
Next:
tuple-slots ( tuple -- seq )
Vocabulary
classes
.
tuple
Inputs
tuple
a
tuple
Outputs
array
an
array
Word description
Outputs an array having the tuple's slots as elements. The first element is the tuple class word and remainder are declared slots.
See also
tuple-slots
Definition
USING:
classes
kernel
sequences
;
IN:
classes.tuple
:
tuple>array
( tuple -- array )
[
tuple-slots
]
[
class-of
prefix
]
bi
;