Handbook
Glossary
from-slots ( assoc class -- tuple )
Vocabulary
classes
.
tuple
Inputs
assoc
an
assoc
class
a
tuple-class
Outputs
tuple
a
tuple
Word description
Creates a new instance of
class
with slot values specified by
assoc
.
Definition
USING:
kernel
;
IN:
classes.tuple
:
from-slots
( assoc class -- tuple )
new
[
set-slots
]
keep
;
inline