[commit: packages/containers] ghc-head: Revert to the original strictness properties of... (49c00f4)
git at git.haskell.org
git at git.haskell.org
Fri Aug 30 13:34:18 CEST 2013
Repository : ssh://git@git.haskell.org/containers
On branch : ghc-head
Link : http://git.haskell.org/?p=packages/containers.git;a=commit;h=49c00f4c40ff61348080c815ca81cf357812ee21
>---------------------------------------------------------------
commit 49c00f4c40ff61348080c815ca81cf357812ee21
Author: Milan Straka <fox at ucw.cz>
Date: Sat Nov 10 21:47:36 2012 +0100
Revert to the original strictness properties of...
deprecated functions, notably
* Data.Map.insertWith'
* Data.Map.insertWithKey'
* Data.Map.insertLookupWithKey'
* Data.IntMap.insertWith'
* Data.IntMap.insertWithKey'
The original behaviour was _not_ to evaluate the given value. Some
people are depending on this, using insertWith' as a strict version of
adjust -- undefined has to be passed as a value in that case.
>---------------------------------------------------------------
49c00f4c40ff61348080c815ca81cf357812ee21
Data/IntMap.hs | 50 +++++++++++++++++++++---------
Data/Map.hs | 92 +++++++++++++++++++++++++++++++++++++++++++++-----------
2 files changed, 111 insertions(+), 31 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 49c00f4c40ff61348080c815ca81cf357812ee21
More information about the ghc-commits
mailing list