Maintainer | Bas van Dijk <v.dijk.bas@gmail.com> |
---|
This module lifts the bytestring IO operations into the region monad.
- hGetContents :: (FileHandle handle, ReadModes ioMode, AncestorRegion pr cr, MonadIO cr) => handle ioMode pr -> cr ByteString
- hGet :: (FileHandle handle, ReadModes ioMode, AncestorRegion pr cr, MonadIO cr) => handle ioMode pr -> Int -> cr ByteString
- hGetNonBlocking :: (FileHandle handle, ReadModes ioMode, AncestorRegion pr cr, MonadIO cr) => handle ioMode pr -> Int -> cr ByteString
- hPut :: (FileHandle handle, WriteModes ioMode, AncestorRegion pr cr, MonadIO cr) => handle ioMode pr -> ByteString -> cr ()
Documentation
hGetContents :: (FileHandle handle, ReadModes ioMode, AncestorRegion pr cr, MonadIO cr) => handle ioMode pr -> cr ByteStringSource
Wraps: Data.ByteString.
.
hGetContents
hGet :: (FileHandle handle, ReadModes ioMode, AncestorRegion pr cr, MonadIO cr) => handle ioMode pr -> Int -> cr ByteStringSource
Wraps: Data.ByteString.
.
hGet
hGetNonBlocking :: (FileHandle handle, ReadModes ioMode, AncestorRegion pr cr, MonadIO cr) => handle ioMode pr -> Int -> cr ByteStringSource
Wraps: Data.ByteString.
.
hGetNonBlocking
hPut :: (FileHandle handle, WriteModes ioMode, AncestorRegion pr cr, MonadIO cr) => handle ioMode pr -> ByteString -> cr ()Source
Wraps: Data.ByteString.
.
hPut