map -package:basement -package:ghc -package:filepath -package:invertible is:exact package:foldl

Fold pairs into a map.