stdin, stdout, stderr, -- :: Handle
openFile, -- :: FilePath -> IOMode -> IO Handle
+#if !defined(__NHC__)
+ openBinaryFile, -- :: FilePath -> IOMode -> IO Handle
+#endif
hClose, -- :: Handle -> IO ()
hFileSize, -- :: Handle -> IO Integer
hIsEOF, -- :: Handle -> IO Bool
hSetBuffering, -- :: Handle -> BufferMode -> IO ()
hGetBuffering, -- :: Handle -> IO BufferMode
+#if !defined(__HUGS__) && !defined(__NHC__)
+ hSetBinaryMode, -- :: Handle -> Bool -> IO ()
+#endif
hFlush, -- :: Handle -> IO ()
hGetPosn, -- :: Handle -> IO HandlePosn
hSetPosn, -- :: HandlePosn -> IO ()
ioeGetFileName, -- :: IOError -> Maybe FilePath
try, -- :: IO a -> IO (Either IOError a)
- bracket, -- :: IO a -> (a -> IO b) -> (a -> IO c) -> IO c
- bracket_, -- :: IO a -> (a -> IO b) -> IO c -> IO c
- -- Non-standard extension (but will hopefully become standard with 1.5) is
- -- to export the Prelude io functions via IO (in addition to exporting them
- -- from the prelude...for now.)
+ -- re-exports of Prelude names
IO, -- instance MonadFix
FilePath, -- :: String
IOError,
, ioeGetErrorString -- :: IOError -> String
, ioeGetHandle -- :: IOError -> Maybe Handle
, ioeGetFileName -- :: IOError -> Maybe FilePath
- , try -- :: IO a -> IO (Either IOError a)
- , bracket -- :: IO a -> (a -> IO b) -> (a -> IO c) -> IO c
- , bracket_ -- :: IO a -> (a -> IO b) -> IO c -> IO c
, IO ()
, FilePath -- :: String