map -package:ghc -is:exact -package:bytestring is:exact -package:bimap package:foldl

Fold pairs into a map.