Safe Haskell | None |
---|
Documentation
module System.IO
class Access io => HandleWriteAccess io Source
class Access io => HandleReadAccess io Source
class (HandleWriteAccess io, HandleReadAccess io) => HandleAccess io whereSource
hClose' :: Handle -> io ()Source
hFileSize' :: Handle -> io IntegerSource
hSetFileSize' :: Handle -> Integer -> io ()Source
hIsEOF' :: Handle -> io BoolSource
hSetBuffering' :: Handle -> BufferMode -> io ()Source
hGetBuffering' :: Handle -> io BufferModeSource
hFlush' :: Handle -> io ()Source
hGetPosn' :: Handle -> io HandlePosnSource
hSetPosn' :: HandlePosn -> io ()Source
hSeek' :: Handle -> SeekMode -> Integer -> io ()Source
hTell' :: Handle -> io IntegerSource
hIsOpen' :: Handle -> io BoolSource
hIsClosed' :: Handle -> io BoolSource
hIsReadable' :: Handle -> io BoolSource
hIsWritable' :: Handle -> io BoolSource
hIsSeekable' :: Handle -> io BoolSource
hIsTerminalDevice' :: Handle -> io BoolSource
hSetEcho' :: Handle -> Bool -> io ()Source
hGetEcho' :: Handle -> io BoolSource
hShow' :: Handle -> io StringSource
hReady' :: Handle -> io BoolSource
hSetEncoding' :: Handle -> TextEncoding -> io ()Source
hGetEncoding' :: Handle -> io (Maybe TextEncoding)Source
hSetNewlineMode' :: Handle -> NewlineMode -> io ()Source
class HandleAccess io => StdIOAccess io whereSource
class HandleAccess io => FileAccess io whereSource
withFile' :: FilePath -> IOMode -> (Handle -> io r) -> io rSource
openFile' :: FilePath -> IOMode -> io HandleSource
readFile' :: FilePath -> io StringSource
writeFile' :: FilePath -> String -> io ()Source
appendFile' :: FilePath -> String -> io ()Source
withBinaryFile' :: FilePath -> IOMode -> (Handle -> io r) -> io rSource
openBinaryFile' :: FilePath -> IOMode -> io HandleSource
class HandleAccess io => TempFileAccess io whereSource
openTempFile' :: FilePath -> String -> io (FilePath, Handle)Source
openBinaryTempFile' :: FilePath -> String -> io (FilePath, Handle)Source
openTempFileWithDefaultPermissions' :: FilePath -> String -> io (FilePath, Handle)Source
openBinaryTempFileWithDefaultPermissions' :: FilePath -> String -> io (FilePath, Handle)Source
class Access io => TextEncodingAccess io whereSource
mkTextEncoding' :: String -> io TextEncodingSource