map -package:base -package:basement -package:base-prelude is:exact -package:filepath package:foldl

Fold pairs into a map.