X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=GHC%2FExts.hs;h=4b014f1c096436300f3f63b1b5d995ecddc7a04e;hb=74d3d254a9e044d410a1cbd8db1c1dc2f1ead58f;hp=a1e6db92641835ab68d71f5ec4e9c8f794be0eb3;hpb=b706340c451952adf230b5b8daecad8a1f34d714;p=haskell-directory.git diff --git a/GHC/Exts.hs b/GHC/Exts.hs index a1e6db9..4b014f1 100644 --- a/GHC/Exts.hs +++ b/GHC/Exts.hs @@ -8,26 +8,25 @@ -- 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: - Splittable(..), + -- * Fusion + build, augment, - -- and finally, all the unboxed primops of GHC! - module GHC.Prim + -- * Linear implicit parameter support + Splittable(..), ) where @@ -38,6 +37,7 @@ import GHC.Base import GHC.Word import GHC.Num import GHC.Float +import GHC.Ptr class Splittable t where split :: t -> (t,t)