map -package:bytestring -package:ghc -package:charset is:exact -package:dlist package:foldl

Fold pairs into a map.