I think merge!
already does this:
help?> merge!
search: merge! mergewith! merge mergewith MergeSort
merge!(d::AbstractDict, others::AbstractDict...)
Update collection with pairs from the other collections. See also merge.
Examples
≡≡≡≡≡≡≡≡≡≡
julia> d1 = Dict(1 => 2, 3 => 4);
julia> d2 = Dict(1 => 4, 4 => 5);
julia> merge!(d1, d2);
julia> d1
Dict{Int64, Int64} with 3 entries:
4 => 5
3 => 4
1 => 4