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

Fold pairs into a map.