Copyright | (c) 2018 Composewell Technologies |
---|---|
License | BSD3 |
Maintainer | streamly@composewell.com |
Stability | pre-release |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- read :: MonadIO m => Unfold m String String
- readFiles :: MonadIO m => Unfold m String String
- readDirs :: MonadIO m => Unfold m String String
- readEither :: MonadIO m => Unfold m String (Either String String)
- toStream :: (IsStream t, MonadIO m) => String -> t m String
- toEither :: (IsStream t, MonadIO m) => String -> t m (Either String String)
- toFiles :: (IsStream t, MonadIO m) => String -> t m String
- toDirs :: (IsStream t, MonadIO m) => String -> t m String
Read from Directory
readDirs :: MonadIO m => Unfold m String String Source #
Read directories only. Filter out "." and ".." entries.
Internal
readEither :: MonadIO m => Unfold m String (Either String String) Source #
Read directories as Left and files as Right. Filter out "." and ".." entries.
Internal
toStream :: (IsStream t, MonadIO m) => String -> t m String Source #
Raw read of a directory.
Pre-release