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

Fold pairs into a map.