2 % (c) The AQUA Project, Glasgow University, 1994-1996
4 \section[GlaExts]{The @GlaExts@ interface}
6 The @GlaExts@ packages up various Glasgow extensions and
7 exports them all through one interface. The Idea being that
8 a Haskell program using a Glasgow extension doesn't have to
9 selective import of obscure/likely-to-move (believe me, we
10 really like to move functions around for the prelude bits!)
11 GHC interfaces - instead import the GlaExts rag bag and you should be away!
17 -- From module STBase, the PrimIO monad
18 -- (an instance of ST):
21 module Monad, -- ST is an instance
22 fixPrimIO, unsafePerformPrimIO, unsafeInterleavePrimIO,
23 returnPrimIO, thenPrimIO, seqPrimIO,
25 listPrimIO, mapPrimIO, mapAndUnzipPrimIO,
27 -- operations for interfacing IO and ST/PrimIO
29 stToIO, --:: ST RealWorld a -> IO a
30 primIOToIO, --:: PrimIO a -> IO a
31 ioToST, --:: IO a -> ST RealWorld a
32 ioToPrimIO, --:: IO a -> PrimIO a
33 thenIO_Prim, -- :: PrimIO a -> (a -> IO b) -> IO b
35 -- Everything from module ByteArray:
38 -- Same for Mutable(Byte)Array interface:
41 -- the representation of some basic types:
42 Int(..),Addr(..),Word(..),Float(..),Double(..),Integer(..),
47 -- and finally, all the unboxed primops of GHC!