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

Fold pairs into a map.