map -package:base -package:charset -package:ghc -package:Cabal-syntax is:exact package:foldl

Fold pairs into a map.