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

Fold pairs into a map.