unionWith package:insert-ordered-containers

The union of two maps. If a key occurs in both maps, the provided function (first argument) will be used to compute the result. Ordered traversal will go thru keys in the first map first.