map -package:charset -package:case-insensitive -package:base -package:ghc is:exact package:foldl

Fold pairs into a map.