File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1500,7 +1500,7 @@ intersection a b = foldlWithKey' go empty a
15001500 _ -> m
15011501{-# INLINABLE intersection #-}
15021502
1503- -- | /O(n+ m)/ Intersection of two maps. If a key occurs in both maps
1503+ -- | /O(n*log m)/ Intersection of two maps. If a key occurs in both maps
15041504-- the provided function is used to combine the values from the two
15051505-- maps.
15061506intersectionWith :: (Eq k , Hashable k ) => (v1 -> v2 -> v3 ) -> HashMap k v1
@@ -1512,7 +1512,7 @@ intersectionWith f a b = foldlWithKey' go empty a
15121512 _ -> m
15131513{-# INLINABLE intersectionWith #-}
15141514
1515- -- | /O(n+ m)/ Intersection of two maps. If a key occurs in both maps
1515+ -- | /O(n*log m)/ Intersection of two maps. If a key occurs in both maps
15161516-- the provided function is used to combine the values from the two
15171517-- maps.
15181518intersectionWithKey :: (Eq k , Hashable k ) => (k -> v1 -> v2 -> v3 )
You can’t perform that action at this time.
0 commit comments