File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -998,17 +998,17 @@ intersectionWithKey f a b = foldlWithKey' go empty a
998
998
-- | /O(n)/ Reduce this map by applying a binary operator to all
999
999
-- elements, using the given starting value (typically the
1000
1000
-- left-identity of the operator). Each application of the operator
1001
- -- is evaluated before before using the result in the next
1002
- -- application. This function is strict in the starting value.
1001
+ -- is evaluated before using the result in the next application.
1002
+ -- This function is strict in the starting value.
1003
1003
foldl' :: (a -> v -> a ) -> a -> HashMap k v -> a
1004
1004
foldl' f = foldlWithKey' (\ z _ v -> f z v)
1005
1005
{-# INLINE foldl' #-}
1006
1006
1007
1007
-- | /O(n)/ Reduce this map by applying a binary operator to all
1008
1008
-- elements, using the given starting value (typically the
1009
1009
-- left-identity of the operator). Each application of the operator
1010
- -- is evaluated before before using the result in the next
1011
- -- application. This function is strict in the starting value.
1010
+ -- is evaluated before using the result in the next application.
1011
+ -- This function is strict in the starting value.
1012
1012
foldlWithKey' :: (a -> k -> v -> a ) -> a -> HashMap k v -> a
1013
1013
foldlWithKey' f = go
1014
1014
where
You can’t perform that action at this time.
0 commit comments