map -package:base-compat is:exact -package:basement -package:dlist -package:hedgehog package:foldl

Fold pairs into a map.