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

Fold pairs into a map.