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
namea string
specsa sequence of slot-specs


Outputs
spec/fa slot-spec or f


Word description
Outputs the slot-spec with the given name.

Definition


: slot-named ( name specs -- spec/f ) slot-named* nip ;