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
255255-- state thread, with each element containing the specified initial
256256-- value.
257257new :: 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 ))
260260 ST $ \ s ->
261261 case newArray# n# b s of
262262 (# s', ary # ) -> (# s', MArray ary # )
@@ -474,8 +474,8 @@ undefinedElem = error "Data.HashMap.Internal.Array: Undefined element"
474474{-# NOINLINE undefinedElem #-}
475475
476476thaw :: 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)
479479 ST $ \ s -> case thawArray# (unArray ary) o# n# s of
480480 (# s2, mary# # ) -> (# s2, MArray mary# # )
481481{-# INLINE thaw #-}
You can’t perform that action at this time.
0 commit comments