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

Fold pairs into a map.