Handbook
Glossary
key-ref
Factor handbook
»
The language
»
Collections
»
References
»
Reference implementations
Prev:
<obj-ref> ( obj -- obj-ref )
Next:
<key-ref> ( assoc key -- key-ref )
Vocabulary
refs
Class description
Instances of this class identify a key in an associative structure. New key references are created by calling
<key-ref>
.
Definition
IN:
refs
TUPLE:
key-ref
<
assoc-ref
;
Methods
USING:
accessors
refs
;
M:
key-ref
get-ref
key>>
;
USING:
assocs
refs
;
M:
key-ref
set-ref
>assoc-ref<
rename-at
;