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

Fold pairs into a map.