File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -255,8 +255,8 @@ liftRnfArray rnf0 ary0 = go ary0 n0 0
255
255
-- state thread, with each element containing the specified initial
256
256
-- value.
257
257
new :: Int -> a -> ST s (MArray s a )
258
- new (I # n# ) b =
259
- CHECK_GT (" new" ,n ,(0 :: Int ))
258
+ new _n @ (I # n# ) b =
259
+ CHECK_GT (" new" ,_n ,(0 :: Int ))
260
260
ST $ \ s ->
261
261
case newArray# n# b s of
262
262
(# s', ary # ) -> (# s', MArray ary # )
@@ -474,8 +474,8 @@ undefinedElem = error "Data.HashMap.Internal.Array: Undefined element"
474
474
{-# NOINLINE undefinedElem #-}
475
475
476
476
thaw :: Array e -> Int -> Int -> ST s (MArray s e )
477
- thaw ! ary ! _o@ (I # o# ) (I # n# ) =
478
- CHECK_LE (" thaw" , _o + n , length ary)
477
+ thaw ! ary ! _o@ (I # o# ) _n @ (I # n# ) =
478
+ CHECK_LE (" thaw" , _o + _n , length ary)
479
479
ST $ \ s -> case thawArray# (unArray ary) o# n# s of
480
480
(# s2, mary# # ) -> (# s2, MArray mary# # )
481
481
{-# INLINE thaw #-}
You can’t perform that action at this time.
0 commit comments