2323-- Many operations have a average-case complexity of /O(log n)/. The
2424-- implementation uses a large base (i.e. 16) so in practice these
2525-- operations are constant time.
26- module Data.HashMap.Strict.Base
26+ module Data.HashMap.Internal.Strict
2727 (
2828 -- * Strictness properties
2929 -- $strictness
@@ -107,15 +107,15 @@ import qualified Data.List as L
107107import Data.Hashable (Hashable )
108108import Prelude hiding (map , lookup )
109109
110- import qualified Data.HashMap.Array as A
111- import qualified Data.HashMap.Base as HM
112- import Data.HashMap.Base hiding (
110+ import qualified Data.HashMap.Internal. Array as A
111+ import qualified Data.HashMap.Internal as HM
112+ import Data.HashMap.Internal hiding (
113113 alter , alterF , adjust , fromList , fromListWith , fromListWithKey ,
114114 insert , insertWith ,
115115 differenceWith , intersectionWith , intersectionWithKey , map , mapWithKey ,
116116 mapMaybe , mapMaybeWithKey , singleton , update , unionWith , unionWithKey ,
117117 traverseWithKey )
118- import Data.HashMap.Unsafe (runST )
118+ import Data.HashMap.Internal. Unsafe (runST )
119119#if MIN_VERSION_base(4,8,0)
120120import Data.Functor.Identity
121121#endif
@@ -310,7 +310,7 @@ alterF f = \ !k !m ->
310310{-# INLINABLE [0] alterF #-}
311311
312312#if MIN_VERSION_base(4,8,0)
313- -- See notes in Data.HashMap.Base
313+ -- See notes in Data.HashMap.Internal
314314test_bottom :: a
315315test_bottom = error " Data.HashMap.alterF internal error: hit test_bottom"
316316
@@ -322,7 +322,7 @@ impossibleAdjust = error "Data.HashMap.alterF internal error: impossible adjust"
322322
323323{-# RULES
324324
325- -- See detailed notes on alterF rules in Data.HashMap.Base .
325+ -- See detailed notes on alterF rules in Data.HashMap.Internal .
326326
327327"alterFWeird" forall f. alterF f =
328328 alterFWeird (f Nothing) (f (Just test_bottom)) f
0 commit comments