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

Fold pairs into a map.