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

Fold pairs into a map.