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

Fold pairs into a map.