map -package:basement -package:filepath -package:bytestring is:exact -package:imports package:foldl

Fold pairs into a map.