X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Foreign.hs;h=5976c2098537f8a5d03f9d63fdeb38fdc2a08b18;hb=3aa288879627ae55480c919c1b23fb28ca09e536;hp=6c3cf8a1c5a80a1c5439a29ffc65dd8719a62036;hpb=c04ece9b00ebbf0a7448033e0da6c1cbadc34a00;p=ghc-base.git diff --git a/Foreign.hs b/Foreign.hs index 6c3cf8a..5976c20 100644 --- a/Foreign.hs +++ b/Foreign.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Foreign @@ -24,8 +24,10 @@ module Foreign , module Foreign.Storable , module Foreign.Marshal - -- | For compatibility with the FFI addendum only. The recommended - -- place to get this from is "System.IO.Unsafe". + -- | '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