[project @ 1998-12-02 13:17:09 by simonm]
[ghc-hetmet.git] / ghc / docs / libraries / GlaExts.sgml
1 <!--
2   <sect> <idx/GlaExts/ <p>
3   
4   This library provides a convenient bundle of most of the extensions
5   available in GHC and Hugs.  This module is generally more stable than
6   the other modules of non-standard extensions so you might choose to 
7   import them from here rather than going straight to the horses mouth.
8   
9   <tscreen><verb>
10   module GlaExts( module GlaExts, module IOExts, module ST, module Addr ) where
11   import IOExts
12   import ST
13   import Addr
14   trace              :: String -> a -> a
15   performGC          :: IO ()
16   </verb></tscreen>
17   
18   The GHC version also provides the types <tt/RealWorld/,
19   <tt/ByteArray/, <tt/Lift/ and operations on these types. It also
20   provides the unboxed views of the types
21   <tt/Int/, 
22   <tt/Addr/, 
23   <tt/Word/, 
24   <tt/Float/, 
25   <tt/Double/, 
26   <tt/Integer/ and
27   <tt/Char/ 
28   and a number of ``primitive operations'' (<tt/+&num/,
29   <tt/plusFloat&num/, etc.).
30   
31   -->