map -package:containers -package:charset -package:base-prelude is:exact -package:bytestring -package:monoidal-containers package:foldl

Fold pairs into a map.