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

Fold pairs into a map.