map -package:basement -package:hedgehog -package:insert-ordered-containers is:exact package:foldl

Fold pairs into a map.