map -package:bytestring -package:containers -package:vector -package:text is:exact package:foldl

Fold pairs into a map.