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

Fold pairs into a map.