[project @ 2005-01-31 12:57:26 by simonmar]
[ghc-base.git] / GHC / Exts.hs
1 -----------------------------------------------------------------------------
2 -- |
3 -- Module      :  GHC.Exts
4 -- Copyright   :  (c) The University of Glasgow 2002
5 -- License     :  see libraries/base/LICENSE
6 -- 
7 -- Maintainer  :  cvs-ghc@haskell.org
8 -- Stability   :  internal
9 -- Portability :  non-portable (GHC Extensions)
10 --
11 -- GHC Extensions: this is the Approved Way to get at GHC-specific extensions.
12 --
13 -----------------------------------------------------------------------------
14
15 module GHC.Exts
16        (
17         -- * Representations of some basic types
18         Int(..),Word(..),Float(..),Double(..),Integer(..),Char(..),
19         Ptr(..), FunPtr(..),
20
21         -- * Primitive operations
22         module GHC.Prim,
23         shiftL#, shiftRL#, iShiftL#, iShiftRA#, iShiftRL#,
24
25         -- * Fusion
26         build, augment,
27
28         -- * Linear implicit parameter support
29         Splittable(..),
30
31        ) where
32
33 import Prelude
34
35 import GHC.Prim
36 import GHC.Base
37 import GHC.Word
38 import GHC.Num
39 import GHC.Float
40 import GHC.Ptr
41
42 class Splittable t where
43   split :: t -> (t,t)