[project @ 2002-04-26 12:48:16 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 stuff.
12 --
13 -----------------------------------------------------------------------------
14
15 module GHC.Exts
16        (
17         -- the representation of some basic types:
18         Int(..),Word(..),Float(..),Double(..),Integer(..),Char(..),
19
20         -- Fusion
21         build, augment,
22
23         -- shifty wrappers from GHC.Base
24         shiftL#, shiftRL#, iShiftL#, iShiftRA#, iShiftRL#,
25
26         -- for linear implicit parameters:
27         Splittable(..),
28
29         -- and finally, all the unboxed primops of GHC!
30         module GHC.Prim
31
32        ) where
33
34 import Prelude
35
36 import GHC.Prim
37 import GHC.Base
38 import GHC.Word
39 import GHC.Num
40 import GHC.Float
41
42 class Splittable t where
43   split :: t -> (t,t)