map -package:basement -package:base-compat -package:dense-linear-algebra is:exact package:foldl

Fold pairs into a map.