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

Fold pairs into a map.