map -package:charset -package:base -package:bytestring -package:ghc is:exact package:foldl

Fold pairs into a map.