Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type DataModeIO m a = MonadIO m => (Handle -> m a, Handle -> a -> m ()) 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 :: IOData a => IODataMode a -> Handle -> SinkIO m a Source