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

Fold pairs into a map.