module Streamly.Console.Stdio
(
reader
, chunkReader
, write
, writeChunks
, writeErr
, writeErrChunks
, read
, readChunks
)
where
import Control.Monad.IO.Class (MonadIO(..))
import Data.Word (Word8)
import Streamly.Internal.Data.Array.Type (Array)
import Streamly.Internal.Data.Unfold (Unfold)
import Streamly.Internal.Console.Stdio hiding (read, readChunks)
import Prelude hiding (read)
{-# DEPRECATED read "Please use 'reader' instead" #-}
{-# INLINE read #-}
read :: MonadIO m => Unfold m () Word8
read :: Unfold m () Word8
read = Unfold m () Word8
forall (m :: * -> *). MonadIO m => Unfold m () Word8
reader
{-# DEPRECATED readChunks "Please use 'chunkReader' instead" #-}
{-# INLINE readChunks #-}
readChunks :: MonadIO m => Unfold m () (Array Word8)
readChunks :: Unfold m () (Array Word8)
readChunks = Unfold m () (Array Word8)
forall (m :: * -> *). MonadIO m => Unfold m () (Array Word8)
chunkReader