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

Fold pairs into a map.