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

Fold pairs into a map.