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

Fold pairs into a map.