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

Fold pairs into a map.