assoc-combine ( seq -- union )
Factor handbook » The language » Collections » Associative mapping operations » Associative mapping conversions

Prev:assoc-clone-like ( assoc exemplar -- newassoc )
Next:zip ( keys values -- alist )


Vocabulary
assocs

Inputs
seqa sequence of assocs


Outputs
unionan assoc


Word description
Takes the union of all of the assocs in seq.

Examples
USING: prettyprint assocs ; { H{ { 1 2 } } H{ { 3 4 } } } assoc-combine .
H{ { 1 2 } { 3 4 } }


Definition