Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
520b2dd8
Commit
520b2dd8
authored
Sep 20, 2012
by
ian@well-typed.com
Browse files
Remove GHC.Handle
It's been deprecated since at least GHC 6.12
parent
c89b5a19
Changes
2
Hide whitespace changes
Inline
Side-by-side
libraries/base/GHC/Handle.hs
deleted
100644 → 0
View file @
c89b5a19
{-# LANGUAGE Trustworthy #-}
{-# OPTIONS_HADDOCK hide #-}
-----------------------------------------------------------------------------
-- |
-- Module : GHC.Handle
-- Copyright : (c) The University of Glasgow, 1994-2001
-- License : see libraries/base/LICENSE
--
-- Maintainer : libraries@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
libraries/base/base.cabal
View file @
520b2dd8
...
...
@@ -60,7 +60,6 @@ Library {
GHC.ForeignPtr,
GHC.Generics,
GHC.GHCi,
GHC.Handle,
GHC.IO,
GHC.IO.Buffer,
GHC.IO.BufferedIO,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment