Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type DataModeIO m a = MonadIO m => (Handle -> m a, Handle -> a -> m ()) Source
byChunk :: IOData a => IODataMode a Source
byChunkOf :: Int -> IODataMode ByteString Source
byLine :: IOData a => DataModeIO m a Source
sourceHandle :: DataModeIO m a -> Handle -> SourceIO m a Source
sourceIOWith :: m r -> (r -> m Bool) -> (r -> m a) -> SourceIO m a Source
sourceHandleWith :: (Handle -> m a) -> Handle -> SourceIO m a Source
sinkHandle :: IODataMode a -> Handle -> SinkIO m a Source