diff options
Diffstat (limited to 'libraries/base/Foreign.hs')
-rw-r--r-- | libraries/base/Foreign.hs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libraries/base/Foreign.hs b/libraries/base/Foreign.hs index dbdc90588b..43ee102830 100644 --- a/libraries/base/Foreign.hs +++ b/libraries/base/Foreign.hs @@ -25,14 +25,6 @@ module Foreign , module Foreign.StablePtr , module Foreign.Storable , module Foreign.Marshal - - -- * Unsafe Functions - - -- | 'unsafePerformIO' is exported here for backwards - -- compatibility reasons only. For doing local marshalling in - -- the FFI, use 'unsafeLocalState'. For other uses, see - -- 'System.IO.Unsafe.unsafePerformIO'. - , unsafePerformIO ) where import Data.Bits @@ -44,12 +36,3 @@ import Foreign.StablePtr import Foreign.Storable import Foreign.Marshal -import GHC.IO (IO) -import qualified GHC.IO (unsafePerformIO) - -{-# DEPRECATED unsafePerformIO "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release" #-} -- deprecated in 7.2 - -{-# INLINE unsafePerformIO #-} -unsafePerformIO :: IO a -> a -unsafePerformIO = GHC.IO.unsafePerformIO - |