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

Fold pairs into a map.