map -package:dlist -is:exact -package:base-compat is:exact -package:case-insensitive package:foldl

Fold pairs into a map.