File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 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
998998-- | /O(n)/ Reduce this map by applying a binary operator to all
999999-- elements, using the given starting value (typically the
10001000-- 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.
10031003foldl' :: (a -> v -> a ) -> a -> HashMap k v -> a
10041004foldl' f = foldlWithKey' (\ z _ v -> f z v)
10051005{-# INLINE foldl' #-}
10061006
10071007-- | /O(n)/ Reduce this map by applying a binary operator to all
10081008-- elements, using the given starting value (typically the
10091009-- 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.
10121012foldlWithKey' :: (a -> k -> v -> a ) -> a -> HashMap k v -> a
10131013foldlWithKey' f = go
10141014 where
You can’t perform that action at this time.
0 commit comments