X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Foreign%2FMarshal%2FArray.hs;h=ae7db1aee27e81b88869d592ecf3e028a3df6b0f;hb=dd9c9b18505d8659fc65139abc78ae8ba5966e88;hp=002961e47b597a580b1acc636a4d044a0437a463;hpb=771f9ba7d06cd1b454d4bf2b133a028887a4d2af;p=ghc-base.git diff --git a/Foreign/Marshal/Array.hs b/Foreign/Marshal/Array.hs index 002961e..ae7db1a 100644 --- a/Foreign/Marshal/Array.hs +++ b/Foreign/Marshal/Array.hs @@ -3,7 +3,7 @@ -- | -- Module : Foreign.Marshal.Array -- Copyright : (c) The FFI task force 2001 --- License : BSD-style (see the file libraries/core/LICENSE) +-- License : BSD-style (see the file libraries/base/LICENSE) -- -- Maintainer : ffi@haskell.org -- Stability : provisional @@ -60,12 +60,12 @@ module Foreign.Marshal.Array ( ) where import Control.Monad - -#ifdef __GLASGOW_HASKELL__ -import Foreign.Ptr (Ptr, plusPtr) -import GHC.Storable (Storable(sizeOf,peekElemOff,pokeElemOff)) +import Foreign.Ptr (Ptr, plusPtr) +import Foreign.Storable (Storable(sizeOf,peekElemOff,pokeElemOff)) import Foreign.Marshal.Alloc (alloca, mallocBytes, allocaBytes, reallocBytes) import Foreign.Marshal.Utils (copyBytes, moveBytes) + +#ifdef __GLASGOW_HASKELL__ import GHC.IOBase import GHC.Num import GHC.List