file-io-0.1.1: Basic file IO operations via 'OsPath'
Safe HaskellSafe-Inferred
LanguageHaskell2010

System.File.PlatformPath

Synopsis

Documentation

withFile :: PlatformPath -> IOMode -> (Handle -> IO r) -> IO r Source #

Like withFile, but takes a PlatformPath instead of an OsPath.

withBinaryFile :: PlatformPath -> IOMode -> (Handle -> IO r) -> IO r Source #

Like withBinaryFile, but takes a PlatformPath instead of an OsPath.

withFile' :: PlatformPath -> IOMode -> (Handle -> IO r) -> IO r Source #

Like withFile', but takes a PlatformPath instead of an OsPath.

withBinaryFile' :: PlatformPath -> IOMode -> (Handle -> IO r) -> IO r Source #

Like withBinaryFile', but takes a PlatformPath instead of an OsPath.

readFile :: PlatformPath -> IO ByteString Source #

Like readFile, but takes a PlatformPath instead of an OsPath.

readFile' :: PlatformPath -> IO ByteString Source #

Like readFile', but takes a PlatformPath instead of an OsPath.

writeFile :: PlatformPath -> ByteString -> IO () Source #

Like writeFile, but takes a PlatformPath instead of an OsPath.

writeFile' :: PlatformPath -> ByteString -> IO () Source #

Like writeFile', but takes a PlatformPath instead of an OsPath.

appendFile :: PlatformPath -> ByteString -> IO () Source #

Like appendFile, but takes a PlatformPath instead of an OsPath.

appendFile' :: PlatformPath -> ByteString -> IO () Source #

Like appendFile', but takes a PlatformPath instead of an OsPath.

openFile :: PlatformPath -> IOMode -> IO Handle Source #

Like openFile, but takes a PlatformPath instead of an OsPath.