Handbook
Glossary
values ( assoc -- values )
Factor handbook
»
The language
»
Collections
»
Associative mapping operations
»
Lookup and querying of assocs
Prev:
keys ( assoc -- keys )
Next:
assoc-stack ( key seq -- value )
Vocabulary
assocs
Inputs
assoc
an
assoc
Outputs
values
an array of values
Word description
Outputs an array of all values in the assoc.
See also
keys
Definition
IN:
assocs
GENERIC:
values
( assoc -- values )
Methods
USING:
assocs
kernel
;
M:
assoc
values
[
nip
]
{
}
assoc>map
;
USING:
accessors
assocs
biassocs
;
M:
biassoc
values
from>>
values
;
USING:
accessors
arrays
assocs
;
M:
enumerated
values
seq>>
>array
;
inline
USING:
assocs
hashtables
hashtables.private
kernel
;
M:
hashtable
values
[
nip
]
collect-pairs
;
USING:
accessors
assocs
kernel
mirrors
sequences
slots.private
;
M:
mirror
values
[
object-slots
]
[
object>>
]
bi
[
[
offset>>
]
]
dip
[
swap
slot
]
curry
compose
map
;
USING:
assocs
persistent.hashtables
;
M:
persistent-hash
values
>alist
values
;
USING:
accessors
assocs
hashtables.wrapped
;
M:
wrapped-hashtable
values
underlying>>
values
;