699edbf4ec1a35e81d24d03813dea6adfc0269d3
[packages/base.git] / GHC / Exts.hs
1 -----------------------------------------------------------------------------
2 --
3 -- Module : GHC.Exts
4 -- Copyright : (c) The University of Glasgow 2001
5 -- License : BSD-style (see the file libraries/core/LICENSE)
6 --
7 -- Maintainer : libraries@haskell.org
8 -- Stability : experimental
9 -- Portability : non-portable
10 --
11 -- $Id: Exts.hs,v 1.4 2002/04/11 12:03:44 simonpj Exp $
12 --
13 -- GHC Extensions: this is the Approved Way to get at GHC-specific stuff.
14 --
15 -----------------------------------------------------------------------------
16
17 module GHC.Exts
18 (
19 -- the representation of some basic types:
20 Int(..),Word(..),Float(..),Double(..),Integer(..),Char(..),
21
22 -- Fusion
23 build, augment,
24
25 -- shifty wrappers from GHC.Base
26 shiftL#, shiftRL#, iShiftL#, iShiftRA#, iShiftRL#,
27
28 -- for linear implicit parameters:
29 Splittable(..),
30
31 -- and finally, all the unboxed primops of GHC!
32 module GHC.Prim
33
34 ) where
35
36 import Prelude
37
38 import GHC.Prim
39 import GHC.Base
40 import GHC.Word
41 import GHC.Num
42 import GHC.Float
43
44 class Splittable t where
45 split :: t -> (t,t)