X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=GHC%2FExts.hs;h=651396a686bd7a6d11ec61fd938e76349cf62a5c;hb=7a73aaf70fefb4b30c9159f5d15035f8e9c6e114;hp=4041fda4ca236c1ac13bb5bcc6883f6c109f5009;hpb=9fa9bc17072a58c0bae2cce4764d38677e96ac29;p=haskell-directory.git diff --git a/GHC/Exts.hs b/GHC/Exts.hs index 4041fda..651396a 100644 --- a/GHC/Exts.hs +++ b/GHC/Exts.hs @@ -1,35 +1,38 @@ ----------------------------------------------------------------------------- -- | -- Module : GHC.Exts --- Copyright : (c) The University of Glasgow 2001 --- License : BSD-style (see the file libraries/core/LICENSE) +-- Copyright : (c) The University of Glasgow 2002 +-- License : see libraries/base/LICENSE -- --- Maintainer : libraries@haskell.org --- Stability : experimental --- Portability : non-portable +-- Maintainer : cvs-ghc@haskell.org +-- Stability : internal +-- Portability : non-portable (GHC Extensions) -- --- $Id: Exts.hs,v 1.5 2002/04/24 16:31:45 simonmar Exp $ --- --- 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 @@ -40,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)