diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-02-16 12:32:53 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-02-16 12:46:07 +0000 |
commit | a34f67702f45df3ea78bd0d902134020c5cfef81 (patch) | |
tree | 5a30a0a24b1c3da5190ad947acde14a8846f5460 /libraries/base/Foreign.hs | |
parent | c3470c1ceafc5ad34b092c2882e0067789a00741 (diff) | |
download | haskell-a34f67702f45df3ea78bd0d902134020c5cfef81.tar.gz |
Remove some things deprecated since GHC 7.2
7.2 is too old even to build HEAD, so seems reasonable to remove them
now.
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 - |