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

Fold pairs into a map.