map -package:Cabal-syntax is:exact -package:base -package:containers -package:imports package:foldl

Fold pairs into a map.