@@ -61,7 +61,6 @@ import Control.Applicative (liftA2)
61
61
import Control.DeepSeq
62
62
import GHC.Exts (Int (.. ), Int #, reallyUnsafePtrEquality #, tagToEnum #, unsafeCoerce #, State #)
63
63
import GHC.ST (ST (.. ))
64
- import Control.Monad.ST (stToIO )
65
64
66
65
#if __GLASGOW_HASKELL__ >= 709
67
66
import Prelude hiding (filter , foldMap , foldr , foldl , length , map , read , traverse )
@@ -73,7 +72,7 @@ import Prelude hiding (filter, foldr, foldl, length, map, read)
73
72
import GHC.Exts (SmallArray #, newSmallArray #, readSmallArray #, writeSmallArray #,
74
73
indexSmallArray #, unsafeFreezeSmallArray #, unsafeThawSmallArray #,
75
74
SmallMutableArray #, sizeofSmallArray #, copySmallArray #, thawSmallArray #,
76
- sizeofSmallMutableArray #, copySmallMutableArray #, cloneSmallMutableArray #)
75
+ sizeofSmallMutableArray #, cloneSmallMutableArray #)
77
76
78
77
#else
79
78
import GHC.Exts (Array #, newArray #, readArray #, writeArray #,
@@ -88,7 +87,6 @@ import qualified Prelude
88
87
#endif
89
88
90
89
import Data.HashMap.Unsafe (runST )
91
- import Control.Monad ((>=>) )
92
90
93
91
94
92
#if __GLASGOW_HASKELL__ >= 710
@@ -145,15 +143,6 @@ thawArray# = thawSmallArray#
145
143
146
144
sizeofMutableArray# :: SmallMutableArray # s a -> Int #
147
145
sizeofMutableArray# = sizeofSmallMutableArray#
148
-
149
- copyMutableArray# :: SmallMutableArray # d a
150
- -> Int #
151
- -> SmallMutableArray # d a
152
- -> Int #
153
- -> Int #
154
- -> State # d
155
- -> State # d
156
- copyMutableArray# = copySmallMutableArray#
157
146
#endif
158
147
159
148
------------------------------------------------------------------------
0 commit comments