Handbook
Glossary
slot-named ( name specs -- spec/f )
Factor handbook
»
The language
»
Objects
»
Low-level slot operations
Prev:
changer-word ( name -- word )
Next:
define-reader ( class slot-spec -- )
Vocabulary
slots
Inputs
name
a
string
specs
a
sequence
of
slot-spec
s
Outputs
spec/f
a
slot-spec
or
f
Word description
Outputs the
slot-spec
with the given name.
Definition
USING:
kernel
;
IN:
slots
:
slot-named
( name specs -- spec/f )
slot-named*
nip
;