map is:exact -package:basement -package:filepath -package:containers package:foldl

Fold pairs into a map.