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

Fold pairs into a map.