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

Fold pairs into a map.