map -package:dlist is:exact -package:filepath -package:base -package:case-insensitive package:foldl

Fold pairs into a map.