map -package:basement is:exact -package:containers -package:bytestring package:foldl

Fold pairs into a map.