File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 9
9
` Data.IntSet.splitMember ` are now strict in the key. Previously, the key was
10
10
ignored for an empty map or set. (Soumik Sarkar)
11
11
12
+ ### Bug fixes
13
+
14
+ * ` Data.Map.Strict.mergeWithKey ` now forces the result of the combining function
15
+ to WHNF. (Soumik Sarkar)
16
+
12
17
## Unreleased with ` @since ` annotation for 0.7.1:
13
18
14
19
### Additions
Original file line number Diff line number Diff line change @@ -1250,7 +1250,7 @@ mergeWithKey f g1 g2 = go
1250
1250
_ -> error " mergeWithKey: Given function only1 does not fulfill required conditions (see documentation)"
1251
1251
Just x2 -> case f kx x x2 of
1252
1252
Nothing -> link2 l' r'
1253
- Just x' -> link kx x' l' r'
1253
+ Just ! x' -> link kx x' l' r'
1254
1254
where
1255
1255
(l2, found, r2) = splitLookup kx t2
1256
1256
l' = go l1 l2
You can’t perform that action at this time.
0 commit comments