Strict modules only strict in values inserted
authorJohan Tibell <johan.tibell@gmail.com>
Fri, 30 Aug 2013 18:26:51 +0000 (11:26 -0700)
committerJohan Tibell <johan.tibell@gmail.com>
Fri, 30 Aug 2013 18:26:51 +0000 (11:26 -0700)
commit40308a48959301152879d1a0d65f3cd4ae91e2a3
tree11b70ee7594b71502c2a4ff3237e573baa52255c
parente60634d138fe1170899678f4e5d7bf42c388fae8
Strict modules only strict in values inserted

Before all value arguments would be evaluated, now they are only
evaluated if they are actually inserted into the map.
Data/IntMap.hs
Data/IntMap/Strict.hs
Data/Map.hs
Data/Map/Strict.hs
containers.cabal
tests/IntMapStrictness.hs [new file with mode: 0644]
tests/MapStrictness.hs [new file with mode: 0644]