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

Fold pairs into a map.