map -package:bytestring -package:containers -package:base-compat-batteries package:foldl is:exact

Fold pairs into a map.