Maintainer | Bas van Dijk <v.dijk.bas@gmail.com> |
---|
Data.Text.IO.SaferFileHandles
Description
This module lifts the Text
IO operations into the region monad.
- hGetLine :: (ParentOf pr cr, MonadIO cr, ReadModes ioMode) => RegionalFileHandle ioMode pr -> cr Text
- hGetContents :: (ParentOf pr cr, MonadIO cr, ReadModes ioMode) => RegionalFileHandle ioMode pr -> cr Text
- hPutStr :: (ParentOf pr cr, MonadIO cr, WriteModes ioMode) => RegionalFileHandle ioMode pr -> Text -> cr ()
- hPutStrLn :: (ParentOf pr cr, MonadIO cr, WriteModes ioMode) => RegionalFileHandle ioMode pr -> Text -> cr ()
Documentation
hGetLine :: (ParentOf pr cr, MonadIO cr, ReadModes ioMode) => RegionalFileHandle ioMode pr -> cr TextSource
Wraps: Data.Text.IO.
.
hGetLine
hGetContents :: (ParentOf pr cr, MonadIO cr, ReadModes ioMode) => RegionalFileHandle ioMode pr -> cr TextSource
Wraps: Data.Text.IO.
.
hGetContents
hPutStr :: (ParentOf pr cr, MonadIO cr, WriteModes ioMode) => RegionalFileHandle ioMode pr -> Text -> cr ()Source
Wraps: Data.Text.IO.
.
hPutStr
hPutStrLn :: (ParentOf pr cr, MonadIO cr, WriteModes ioMode) => RegionalFileHandle ioMode pr -> Text -> cr ()Source
Wraps: Data.Text.IO.
.
hPutStrLn