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

Fold pairs into a map.