[project @ 2002-05-28 12:00:17 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
20         -- * Primitive operations
21         module GHC.Prim,
22         shiftL#, shiftRL#, iShiftL#, iShiftRA#, iShiftRL#,
23
24         -- * Fusion
25         build, augment,
26
27         -- * Linear implicit parameter support
28         Splittable(..),
29
30        ) where
31
32 import Prelude
33
34 import GHC.Prim
35 import GHC.Base
36 import GHC.Word
37 import GHC.Num
38 import GHC.Float
39
40 class Splittable t where
41   split :: t -> (t,t)