map -package:bytestring -package:containers -package:pipes is:exact -package:vector package:foldl

Fold pairs into a map.