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

Fold pairs into a map.