map is:exact -package:base-prelude -package:containers -package:ghc -package:base package:foldl

Fold pairs into a map.