map -package:basement -package:imports -package:ghc is:exact -package:base-compat package:foldl

Fold pairs into a map.