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

Fold pairs into a map.