Handbook
Glossary
expand-keys-set-at-as ( assoc exemplar -- hashtable' )
Vocabulary
assocs
.
extras
Inputs
assoc
an
object
exemplar
an
object
Outputs
hashtable'
an
object
Definition
USING:
assocs
kernel
sequences
;
IN:
assocs.extras
:
expand-keys-set-at-as
( assoc exemplar -- hashtable' )
[
[
swap
?1array
]
[
[
set-at
]
curry
with
each
]
]
dip
assoc>object
;