summaryrefslogtreecommitdiff
path: root/libraries/base/Foreign.hs
diff options
context:
space:
mode:
authorpanne <unknown>2003-01-28 21:48:23 +0000
committerpanne <unknown>2003-01-28 21:48:23 +0000
commite9eab4bfddf3f374349a405005c1d28f0902a948 (patch)
tree418d03bb09d995aad7d39483eceacea7335e374a /libraries/base/Foreign.hs
parent2d32e3a4bb42819e89a97e1c99d1127a3a893113 (diff)
downloadhaskell-e9eab4bfddf3f374349a405005c1d28f0902a948.tar.gz
[project @ 2003-01-28 21:48:23 by panne]
As agreed (= no riots after the proposal :-) on the FFI list, introduce a re-exporting module Foreign.Marshal
Diffstat (limited to 'libraries/base/Foreign.hs')
-rw-r--r--libraries/base/Foreign.hs24
1 files changed, 9 insertions, 15 deletions
diff --git a/libraries/base/Foreign.hs b/libraries/base/Foreign.hs
index 15e26dbb90..e0f9e4c058 100644
--- a/libraries/base/Foreign.hs
+++ b/libraries/base/Foreign.hs
@@ -16,19 +16,16 @@
module Foreign
( module Data.Int
- , module Data.Word
- , module Foreign.Ptr
- , module Foreign.ForeignPtr
- , module Foreign.StablePtr
+ , module Data.Word
+ , module Foreign.Ptr
+ , module Foreign.ForeignPtr
+ , module Foreign.StablePtr
, module Foreign.Storable
- , module Foreign.Marshal.Alloc
- , module Foreign.Marshal.Array
- , module Foreign.Marshal.Error
- , module Foreign.Marshal.Utils
+ , module Foreign.Marshal
- -- For compatibility with the FFI addendum only. The recommended
- -- place to get this from is System.IO.Unsafe.
- , unsafePerformIO
+ -- For compatibility with the FFI addendum only. The recommended
+ -- place to get this from is System.IO.Unsafe.
+ , unsafePerformIO
) where
import Data.Int
@@ -37,9 +34,6 @@ import Foreign.Ptr
import Foreign.ForeignPtr
import Foreign.StablePtr
import Foreign.Storable
-import Foreign.Marshal.Alloc
-import Foreign.Marshal.Array
-import Foreign.Marshal.Error
-import Foreign.Marshal.Utils
+import Foreign.Marshal
import System.IO.Unsafe (unsafePerformIO)