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

Fold pairs into a map.