map -is:exact -package:containers is:exact -package:dense-linear-algebra -package:ghc package:foldl

Fold pairs into a map.