[commit: base] master: Remove GHC.Handle (1923869)
Ian Lynagh
igloo at earth.li
Fri Sep 21 00:37:45 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/1923869cf184ee6398a885691092dab226011090
>---------------------------------------------------------------
commit 1923869cf184ee6398a885691092dab226011090
Author: Ian Lynagh <ian at well-typed.com>
Date: Thu Sep 20 18:56:42 2012 +0100
Remove GHC.Handle
It's been deprecated since at least GHC 6.12
>---------------------------------------------------------------
GHC/Handle.hs | 57 ---------------------------------------------------------
base.cabal | 1 -
2 files changed, 0 insertions(+), 58 deletions(-)
diff --git a/GHC/Handle.hs b/GHC/Handle.hs
deleted file mode 100644
index bb744a0..0000000
--- a/GHC/Handle.hs
+++ /dev/null
@@ -1,57 +0,0 @@
-{-# LANGUAGE Trustworthy #-}
-{-# OPTIONS_HADDOCK hide #-}
-
------------------------------------------------------------------------------
--- |
--- Module : GHC.Handle
--- Copyright : (c) The University of Glasgow, 1994-2001
--- License : see libraries/base/LICENSE
---
--- Maintainer : libraries at haskell.org
--- Stability : internal
--- Portability : non-portable
>---------------------------------------------------------------
--- Backwards-compatibility interface
>---------------------------------------------------------------
------------------------------------------------------------------------------
-
--- #hide
-module GHC.Handle {-# DEPRECATED "use GHC.IO.Handle instead" #-} (
- withHandle, withHandle', withHandle_,
- wantWritableHandle, wantReadableHandle, wantSeekableHandle,
-
--- newEmptyBuffer, allocateBuffer, readCharFromBuffer, writeCharIntoBuffer,
--- flushWriteBufferOnly, flushWriteBuffer,
--- flushReadBuffer,
--- fillReadBuffer, fillReadBufferWithoutBlocking,
--- readRawBuffer, readRawBufferPtr,
--- readRawBufferNoBlock, readRawBufferPtrNoBlock,
--- writeRawBuffer, writeRawBufferPtr,
-
- ioe_closedHandle, ioe_EOF, ioe_notReadable, ioe_notWritable,
-
- stdin, stdout, stderr,
- IOMode(..), openFile, openBinaryFile,
--- fdToHandle_stat,
- fdToHandle, fdToHandle',
- hFileSize, hSetFileSize, hIsEOF, isEOF, hLookAhead, hLookAhead_,
- hSetBuffering, hSetBinaryMode,
- hFlush, hDuplicate, hDuplicateTo,
-
- hClose, hClose_help,
-
- HandlePosition, HandlePosn(..), hGetPosn, hSetPosn,
- SeekMode(..), hSeek, hTell,
-
- hIsOpen, hIsClosed, hIsReadable, hIsWritable, hGetBuffering, hIsSeekable,
- hSetEcho, hGetEcho, hIsTerminalDevice,
-
- hShow,
-
- ) where
-
-import GHC.IO.IOMode
-import GHC.IO.Handle
-import GHC.IO.Handle.Internals
-import GHC.IO.Handle.FD
-
diff --git a/base.cabal b/base.cabal
index 752ab63..a7d3ce9 100644
--- a/base.cabal
+++ b/base.cabal
@@ -60,7 +60,6 @@ Library {
GHC.ForeignPtr,
GHC.Generics,
GHC.GHCi,
- GHC.Handle,
GHC.IO,
GHC.IO.Buffer,
GHC.IO.BufferedIO,
More information about the Cvs-libraries
mailing list