map -package:base-prelude is:exact -package:containers -package:base-compat-batteries package:foldl

Fold pairs into a map.