map -package:base-compat is:exact -package:containers -package:base -package:filepath package:foldl

Fold pairs into a map.