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

Fold pairs into a map.