Safe Haskell | None |
---|
More advanced temporary file manipulation functions can be found in the exceptions
package.
Documentation
module System.IO
readFileEncoding :: TextEncoding -> FilePath -> IO StringSource
readFileUTF8 :: FilePath -> IO StringSource
readFileBinary :: FilePath -> IO StringSource
readFileEncoding' :: TextEncoding -> FilePath -> IO StringSource
readFileUTF8' :: FilePath -> IO StringSource
writeFileEncoding :: TextEncoding -> FilePath -> String -> IO ()Source
writeFileUTF8 :: FilePath -> String -> IO ()Source
writeFileBinary :: FilePath -> String -> IO ()Source
withTempFile :: (FilePath -> IO a) -> IO aSource
withTempDir :: (FilePath -> IO a) -> IO aSource
captureOutput :: IO () -> IO StringSource
withBuffering :: Handle -> BufferMode -> IO a -> IO aSource