map -is:exact -package:base -is:exact -package:basement -package:containers is:exact package:foldl

Fold pairs into a map.