Use explicit language extensions & remove extension fields from base.cabal
[ghc-base.git] / Foreign / StablePtr.hs
index 8ebdcfe..522c6fc 100644 (file)
@@ -1,4 +1,5 @@
-{-# OPTIONS_GHC -fno-implicit-prelude #-}
+{-# LANGUAGE CPP, NoImplicitPrelude #-}
+
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign.StablePtr
 
 module Foreign.StablePtr
         ( -- * Stable references to Haskell values
-         StablePtr          -- abstract
+          StablePtr          -- abstract
         , newStablePtr       -- :: a -> IO (StablePtr a)
         , deRefStablePtr     -- :: StablePtr a -> IO a
         , freeStablePtr      -- :: StablePtr a -> IO ()
         , castStablePtrToPtr -- :: StablePtr a -> Ptr ()
         , castPtrToStablePtr -- :: Ptr () -> StablePtr a
-       , -- ** The C-side interface
+        , -- ** The C-side interface
 
-         -- $cinterface
+          -- $cinterface
         ) where
 
 #ifdef __GLASGOW_HASKELL__