Skip to content

Commit 3406f8b

Browse files
committed
Actually get rid of strictness on left monadic fold accumulator
1 parent b72553e commit 3406f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

containers/src/Data/Map/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3371,7 +3371,7 @@ foldlWithKeyM f z = go z
33713371
where
33723372
go z' Tip = return z'
33733373
go z' (Bin _ kx x l r) = do
3374-
!z'' <- go z' l
3374+
z'' <- go z' l
33753375
z''' <- f z'' kx x
33763376
go z''' r
33773377
{-# INLINE foldlWithKeyM #-}

0 commit comments

Comments
 (0)