make Control.Monad.Instances compilable by nhc98
[haskell-directory.git] / GHC / Exts.hs
index a1e6db9..651396a 100644 (file)
@@ -8,26 +8,31 @@
 -- Stability   :  internal
 -- Portability :  non-portable (GHC Extensions)
 --
--- GHC Extensions: this is the Approved Way to get at GHC-specific stuff.
+-- GHC Extensions: this is the Approved Way to get at GHC-specific extensions.
 --
 -----------------------------------------------------------------------------
 
 module GHC.Exts
        (
-        -- the representation of some basic types:
+        -- * Representations of some basic types
         Int(..),Word(..),Float(..),Double(..),Integer(..),Char(..),
+       Ptr(..), FunPtr(..),
 
-       -- Fusion
-       build, augment,
-
-       -- shifty wrappers from GHC.Base
+        -- * Primitive operations
+        module GHC.Prim,
        shiftL#, shiftRL#, iShiftL#, iShiftRA#, iShiftRL#,
 
-       -- for linear implicit parameters:
+       -- * Fusion
+       build, augment,
+
+       -- * Linear implicit parameter support
        Splittable(..),
 
-        -- and finally, all the unboxed primops of GHC!
-        module GHC.Prim
+       -- * Debugging
+       breakpoint,
+
+       -- * Ids with special behaviour
+       lazy, inline,
 
        ) where
 
@@ -38,6 +43,7 @@ import GHC.Base
 import GHC.Word
 import GHC.Num
 import GHC.Float
+import GHC.Ptr
 
 class Splittable t where
   split :: t -> (t,t)