Handbook
Glossary
assoc-collapse! ( assoc seq quot: ( value1 value2 -- new-value ) -- assoc )
Vocabulary
assocs
.
extras
Inputs
assoc
an
object
seq
an
object
quot
a
quotation
with stack effect
( value1 value2 -- new-value )
Outputs
assoc
an
object
Definition
USING:
kernel
sequences
;
IN:
assocs.extras
:
assoc-collapse!
( assoc seq quot: ( value1 value2 -- new-value ) -- assoc )
[
assoc-merge!
]
curry
each
;
inline