map -package:charset -package:bytestring is:exact -package:base-compat -package:dlist package:foldl

Fold pairs into a map.