add GHC.HetMet.{hetmet_kappa,hetmet_kappa_app}
[ghc-base.git] / GHC / Handle.hs
1 {-# OPTIONS_HADDOCK hide #-}
2 -----------------------------------------------------------------------------
3 -- |
4 -- Module      :  GHC.Handle
5 -- Copyright   :  (c) The University of Glasgow, 1994-2001
6 -- License     :  see libraries/base/LICENSE
7 -- 
8 -- Maintainer  :  libraries@haskell.org
9 -- Stability   :  internal
10 -- Portability :  non-portable
11 --
12 -- Backwards-compatibility interface
13 --
14 -----------------------------------------------------------------------------
15
16 -- #hide
17
18 module GHC.Handle {-# DEPRECATED "use GHC.IO.Handle instead" #-} (
19   withHandle, withHandle', withHandle_,
20   wantWritableHandle, wantReadableHandle, wantSeekableHandle,
21
22 --  newEmptyBuffer, allocateBuffer, readCharFromBuffer, writeCharIntoBuffer,
23 --  flushWriteBufferOnly, flushWriteBuffer,
24 --  flushReadBuffer,
25 --  fillReadBuffer, fillReadBufferWithoutBlocking,
26 --  readRawBuffer, readRawBufferPtr,
27 --  readRawBufferNoBlock, readRawBufferPtrNoBlock,
28 --  writeRawBuffer, writeRawBufferPtr,
29
30   ioe_closedHandle, ioe_EOF, ioe_notReadable, ioe_notWritable,
31
32   stdin, stdout, stderr,
33   IOMode(..), openFile, openBinaryFile, 
34 --  fdToHandle_stat,
35   fdToHandle, fdToHandle',
36   hFileSize, hSetFileSize, hIsEOF, isEOF, hLookAhead, hLookAhead_, 
37   hSetBuffering, hSetBinaryMode,
38   hFlush, hDuplicate, hDuplicateTo,
39
40   hClose, hClose_help,
41
42   HandlePosition, HandlePosn(..), hGetPosn, hSetPosn,
43   SeekMode(..), hSeek, hTell,
44
45   hIsOpen, hIsClosed, hIsReadable, hIsWritable, hGetBuffering, hIsSeekable,
46   hSetEcho, hGetEcho, hIsTerminalDevice,
47
48   hShow,
49
50  ) where
51
52 import GHC.IO.IOMode
53 import GHC.IO.Handle
54 import GHC.IO.Handle.Internals
55 import GHC.IO.Handle.FD