Improve {Map,IntMap}.intersection* and its tests.
authorMilan Straka <fox@ucw.cz>
Sat, 3 Mar 2012 10:28:18 +0000 (11:28 +0100)
committerMilan Straka <fox@ucw.cz>
Sun, 4 Mar 2012 15:38:12 +0000 (16:38 +0100)
commit0aaac529f4c37b88180e6f0e6b8fbc160d09ebc2
treebd7e29bad15b6e4e2e2f95f76f0d7c0952774ef3
parent69ae2392c426412f58067e91c949d3faed69a619
Improve {Map,IntMap}.intersection* and its tests.

* Add tests for intersectionWith*.
* Add specific Map.intersection implementation instead of using
  Map.intersectionWithKey.
* Refactor Map.intersectionWithKey implementatioin.
Data/Map/Base.hs
Data/Map/Strict.hs
tests/intmap-properties.hs
tests/map-properties.hs