20f43efc961e1606012809665152f5e4db34f3e6
[packages/random.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 -- * Debugging
32 breakpoint, breakpointCond, Unknown, Unknown2, Unknown3, Unknown4,
33
34 -- * Ids with special behaviour
35 lazy, inline,
36
37 ) where
38
39 import Prelude
40
41 import GHC.Prim
42 import GHC.Base
43 import GHC.Word
44 import GHC.Num
45 import GHC.Float
46 import GHC.Ptr
47
48 class Splittable t where
49 split :: t -> (t,t)