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

Fold pairs into a map.