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