unliftio-streams-0.1.0.0: Generalization of io-streams to MonadUnliftIO

Safe HaskellNone
LanguageHaskell2010

UnliftIO.Streams.Combinators

Documentation

filter :: MonadUnliftIO m => (a -> Bool) -> InputStream a -> m (InputStream a) Source #

fold :: MonadUnliftIO m => (s -> a -> s) -> s -> InputStream a -> m s Source #

foldM :: MonadUnliftIO m => (s -> a -> m s) -> s -> InputStream a -> m s Source #

map :: MonadUnliftIO m => (a -> b) -> InputStream a -> m (InputStream b) Source #

mapM :: MonadUnliftIO m => (a -> m b) -> InputStream a -> m (InputStream b) Source #

unfoldM :: MonadUnliftIO m => (b -> m (Maybe (a, b))) -> b -> m (InputStream a) Source #