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

Fold pairs into a map.