map -package:base-compat -package:basement -package:base -package:hedgehog is:exact package:foldl

Fold pairs into a map.