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

Fold pairs into a map.