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

Fold pairs into a map.