map -package:containers -package:bytestring -package:monoidal-containers -package:imports -package:base-compat-batteries is:exact -package:base-compat -package:filepath package:foldl

Fold pairs into a map.