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

Fold pairs into a map.