diff --git a/ghc/lib/std/PrelArr.lhs b/ghc/lib/std/PrelArr.lhs index 51508a352068ba7874928fe0a2a7725ba829783e..331bc263f99e4dce26988dac2d2e0407c11584ea 100644 --- a/ghc/lib/std/PrelArr.lhs +++ b/ghc/lib/std/PrelArr.lhs @@ -259,13 +259,10 @@ newDoubleArray ixs = ST $ \ s# -> (# s2#, MutableByteArray ixs barr# #) }} boundsOfArray :: Ix ix => MutableArray s ix elt -> (ix, ix) -boundsOfByteArray :: Ix ix => MutableByteArray s ix -> (ix, ix) {-# SPECIALIZE boundsOfArray :: MutableArray s Int elt -> IPr #-} -{-# SPECIALIZE boundsOfByteArray :: MutableByteArray s Int -> IPr #-} boundsOfArray (MutableArray ixs _) = ixs -boundsOfByteArray (MutableByteArray ixs _) = ixs readArray :: Ix ix => MutableArray s ix elt -> ix -> ST s elt