map -package:basement -package:containers -is:exact -package:invertible package:foldl is:exact

Fold pairs into a map.