<key-ref> ( assoc key -- key-ref )
Factor handbook » The language » Collections » References » Reference implementations

Prev:key-ref
Next:value-ref


Vocabulary
refs

Inputs
assocan assoc
keyan object


Outputs
key-refa key-ref


Word description
Creates a reference to a key stored in an assoc.

See also
<obj-ref>, <var-ref>, <global-var-ref>, <slot-ref>, <value-ref>

Definition


: <key-ref> ( assoc key -- key-ref ) \ key-ref boa ; inline