summaryrefslogtreecommitdiff
path: root/libraries/base/Foreign/Safe.hs
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2011-05-16 14:57:46 -0700
committerDavid Terei <davidterei@gmail.com>2011-06-18 01:06:34 -0700
commita61aedc730e68a1b0c166b81a65a8ea575e8094b (patch)
tree85e0237044e1ec4bc29e1bfb80076055035eb6f7 /libraries/base/Foreign/Safe.hs
parent191656199189e584e66dda194b7f772694388102 (diff)
downloadhaskell-a61aedc730e68a1b0c166b81a65a8ea575e8094b.tar.gz
SafeHaskell: Added SafeHaskell to base
Diffstat (limited to 'libraries/base/Foreign/Safe.hs')
-rw-r--r--libraries/base/Foreign/Safe.hs40
1 files changed, 40 insertions, 0 deletions
diff --git a/libraries/base/Foreign/Safe.hs b/libraries/base/Foreign/Safe.hs
new file mode 100644
index 0000000000..9809aff1cb
--- /dev/null
+++ b/libraries/base/Foreign/Safe.hs
@@ -0,0 +1,40 @@
+{-# LANGUAGE Safe #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+
+-----------------------------------------------------------------------------
+-- |
+-- Module : Foreign.Safe
+-- Copyright : (c) The FFI task force 2001
+-- License : BSD-style (see the file libraries/base/LICENSE)
+--
+-- Maintainer : ffi@haskell.org
+-- Stability : provisional
+-- Portability : portable
+--
+-- A collection of data types, classes, and functions for interfacing
+-- with another programming language.
+--
+-- Safe API Only.
+--
+-----------------------------------------------------------------------------
+
+module Foreign.Safe
+ ( module Data.Bits
+ , module Data.Int
+ , module Data.Word
+ , module Foreign.Ptr
+ , module Foreign.ForeignPtr.Safe
+ , module Foreign.StablePtr
+ , module Foreign.Storable
+ , module Foreign.Marshal.Safe
+ ) where
+
+import Data.Bits
+import Data.Int
+import Data.Word
+import Foreign.Ptr
+import Foreign.ForeignPtr.Safe
+import Foreign.StablePtr
+import Foreign.Storable
+import Foreign.Marshal.Safe
+