Copyright | (c) 2021 Composewell Technologies |
---|---|
License | BSD-3-Clause |
Maintainer | streamly@composewell.com |
Stability | released |
Portability | GHC |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Combinators to work with standard input, output and error streams.
See also: Streamly.Internal.Console.Stdio
Read (stdin)
read :: MonadIO m => Unfold m () Word8 Source #
Unfold standard input into a stream of Word8
.
Since: 0.8.0
readChunks :: MonadIO m => Unfold m () (Array Word8) Source #
Unfolds standard input into a stream of Word8
arrays.
Since: 0.8.0
Write (stdout)
write :: MonadIO m => Fold m Word8 () Source #
Fold a stream of Word8
to standard output.
Since: 0.8.0
writeChunks :: MonadIO m => Fold m (Array Word8) () Source #
Fold a stream of Array Word8
to standard output.
Since: 0.8.0