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

Fold pairs into a map.