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

Fold pairs into a map.