map -package:containers -package:dlist -package:bimap -package:base-compat is:exact package:foldl

Fold pairs into a map.