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

Fold pairs into a map.