X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Data%2FArray%2FBase.hs;h=dee798fdb7fcef18927f1dd689e54daa462ca60b;hb=f7a485978f04e84b086f1974b88887cc72d832d0;hp=711b55ab3671627127a10a5ca733954439e865f4;hpb=1e1907fb42b74de4feb5ac8af10846db31e56edb;p=ghc-base.git diff --git a/Data/Array/Base.hs b/Data/Array/Base.hs index 711b55a..dee798f 100644 --- a/Data/Array/Base.hs +++ b/Data/Array/Base.hs @@ -1,16 +1,14 @@ {-# OPTIONS -monly-3-regs #-} ----------------------------------------------------------------------------- --- +-- | -- Module : Data.Array.Base -- Copyright : (c) The University of Glasgow 2001 --- License : BSD-style (see the file libraries/core/LICENSE) +-- License : BSD-style (see the file libraries/base/LICENSE) -- -- Maintainer : libraries@haskell.org -- Stability : experimental -- Portability : non-portable -- --- $Id: Base.hs,v 1.5 2002/01/02 14:40:10 simonmar Exp $ --- -- Basis for IArray and MArray. Not intended for external consumption; -- use IArray or MArray instead. -- @@ -1159,7 +1157,7 @@ thawSTUArray (UArray l u arr#) = ST $ \s1# -> case unsafeCoerce# memcpy marr# arr# n# s2# of { (# s3#, () #) -> (# s3#, STUArray l u marr# #) }}} -foreign import "memcpy" unsafe +foreign import ccall unsafe "memcpy" memcpy :: MutableByteArray# RealWorld -> ByteArray# -> Int# -> IO () {-# RULES