@@ -128,17 +128,17 @@ import Data.Bits ((.&.), (.|.))
128128import Data.Coerce (coerce )
129129import Data.Functor.Identity (Identity (.. ))
130130-- See Note [Imports from Data.HashMap.Internal]
131+ import Data.Hashable (Hashable )
131132import Data.HashMap.Internal (Hash , HashMap (.. ), Leaf (.. ), LookupRes (.. ),
132133 bitsPerSubkey , fullNodeMask , hash , index , mask ,
133134 ptrEq , sparseIndex )
134- import Data.Hashable (Hashable )
135135import Prelude hiding (lookup , map )
136136
137137-- See Note [Imports from Data.HashMap.Internal]
138138import qualified Data.HashMap.Internal as HM
139139import qualified Data.HashMap.Internal.Array as A
140140import qualified Data.List as List
141- import GHC.Exts ( inline )
141+ import qualified GHC.Exts as Exts
142142
143143{-
144144Note [Imports from Data.HashMap.Internal]
@@ -617,7 +617,7 @@ differenceWith f a b = HM.foldlWithKey' go HM.empty a
617617-- maps.
618618intersectionWith :: (Eq k , Hashable k ) => (v1 -> v2 -> v3 ) -> HashMap k v1
619619 -> HashMap k v2 -> HashMap k v3
620- intersectionWith f = inline intersectionWithKey $ const f
620+ intersectionWith f = Exts. inline intersectionWithKey $ const f
621621{-# INLINABLE intersectionWith #-}
622622
623623-- | /O(n+m)/ Intersection of two maps. If a key occurs in both maps
0 commit comments