Skip to content

Commit 180891e

Browse files
Cipherwraithtreeowl
authored andcommitted
`before before` --> `before`
1 parent 0a6b84e commit 180891e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Data/HashMap/Base.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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.
10031003
foldl' :: (a -> v -> a) -> a -> HashMap k v -> a
10041004
foldl' 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.
10121012
foldlWithKey' :: (a -> k -> v -> a) -> a -> HashMap k v -> a
10131013
foldlWithKey' f = go
10141014
where

0 commit comments

Comments
 (0)