projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2004-06-13 21:03:46 by panne]
[ghc-base.git]
/
GHC
/
Exts.hs
diff --git
a/GHC/Exts.hs
b/GHC/Exts.hs
index
a1e6db9
..
4b014f1
100644
(file)
--- a/
GHC/Exts.hs
+++ b/
GHC/Exts.hs
@@
-8,26
+8,25
@@
-- Stability : internal
-- Portability : non-portable (GHC Extensions)
--
-- Stability : internal
-- Portability : non-portable (GHC Extensions)
--
--- GHC Extensions: this is the Approved Way to get at GHC-specific stuff.
+-- GHC Extensions: this is the Approved Way to get at GHC-specific extensions.
--
-----------------------------------------------------------------------------
module GHC.Exts
(
--
-----------------------------------------------------------------------------
module GHC.Exts
(
- -- the representation of some basic types:
+ -- * Representations of some basic types
Int(..),Word(..),Float(..),Double(..),Integer(..),Char(..),
Int(..),Word(..),Float(..),Double(..),Integer(..),Char(..),
+ Ptr(..), FunPtr(..),
- -- Fusion
- build, augment,
-
- -- shifty wrappers from GHC.Base
+ -- * Primitive operations
+ module GHC.Prim,
shiftL#, shiftRL#, iShiftL#, iShiftRA#, iShiftRL#,
shiftL#, shiftRL#, iShiftL#, iShiftRA#, iShiftRL#,
- -- for linear implicit parameters:
- Splittable(..),
+ -- * Fusion
+ build, augment,
- -- and finally, all the unboxed primops of GHC!
- module GHC.Prim
+ -- * Linear implicit parameter support
+ Splittable(..),
) where
) where
@@
-38,6
+37,7
@@
import GHC.Base
import GHC.Word
import GHC.Num
import GHC.Float
import GHC.Word
import GHC.Num
import GHC.Float
+import GHC.Ptr
class Splittable t where
split :: t -> (t,t)
class Splittable t where
split :: t -> (t,t)