Handbook
Glossary
collect-assoc-by ( ... input-assoc quot: ( ... key value -- ... key value ) -- ... assoc )
Vocabulary
assocs
.
extras
Inputs
input-assoc
an
object
quot
a
quotation
with stack effect
( ... key value -- ... key value )
Outputs
assoc
an
object
Definition
USING:
kernel
;
IN:
assocs.extras
:
collect-assoc-by
( ... input-assoc quot: ( ... key value -- ... key value ) -- ... assoc )
[
H{
}
clone
]
2dip
collect-assoc-by!
;
inline