How can I create a new map from two maps of maps so that the resulting map only includes matches where keys are the same and combines the internal maps.
Iter
val keys = map1.keySet & map2.keySet val map3 = keys.map(k => k -> (map1(k) ++ map2(k)))