map -package:base-prelude -package:basement is:exact -package:base -package:imports -package:base-compat package:foldl

Fold pairs into a map.