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

Fold pairs into a map.