Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. readChunksWithBufferOf :: forall (m :: Type -> Type) . MonadIO m => Unfold m (Int, Handle) (Array Word8)

    streamly-core Streamly.FileSystem.Handle

    Deprecated: Please use chunkReaderWith instead.

  2. readWith :: forall (m :: Type -> Type) . MonadIO m => Int -> Handle -> Stream m Word8

    streamly-core Streamly.FileSystem.Handle

    readWith bufsize handle reads a byte stream from a file handle, reads are performed in chunks of up to bufsize.

    >>> readWith size h = Stream.unfoldMany Array.reader $ Handle.readChunksWith size h
    
    Pre-release

  3. readWithBufferOf :: forall (m :: Type -> Type) . MonadIO m => Unfold m (Int, Handle) Word8

    streamly-core Streamly.FileSystem.Handle

    Deprecated: Please use readerWith instead.

  4. reader :: forall (m :: Type -> Type) . MonadIO m => Unfold m Handle Word8

    streamly-core Streamly.FileSystem.Handle

    Unfolds a file handle into a byte stream. IO requests to the device are performed in sizes of defaultChunkSize.

    >>> reader = Unfold.many Array.reader Handle.chunkReader
    

  5. readerWith :: forall (m :: Type -> Type) . MonadIO m => Unfold m (Int, Handle) Word8

    streamly-core Streamly.FileSystem.Handle

    Unfolds the tuple (bufsize, handle) into a byte stream, read requests to the IO device are performed using buffers of bufsize.

    >>> readerWith = Unfold.many Array.reader Handle.chunkReaderWith
    

  6. readChars :: forall (m :: Type -> Type) . MonadIO m => Stream m Char

    streamly-core Streamly.Internal.Console.Stdio

    Read a character stream from Utf8 encoded standard input.

    readChars = Unicode.decodeUtf8 Stdio.read
    
    Pre-release

  7. readChunks :: forall (m :: Type -> Type) . MonadIO m => Stream m (Array Word8)

    streamly-core Streamly.Internal.Console.Stdio

    Read a stream of chunks from standard input. The maximum size of a single chunk is limited to defaultChunkSize. The actual size read may be less than defaultChunkSize.

    readChunks = Handle.readChunks stdin
    readChunks = Stream.unfold Stdio.chunkReader ()
    
    Pre-release

  8. reader :: forall (m :: Type -> Type) . MonadIO m => Unfold m () Word8

    streamly-core Streamly.Internal.Console.Stdio

    Unfold standard input into a stream of Word8.

  9. readRev :: forall (m :: Type -> Type) a . (Monad m, Unbox a) => Array a -> Stream m a

    streamly-core Streamly.Internal.Data.Array

    Convert an Array into a stream in reverse order. Pre-release

  10. reader :: forall (m :: Type -> Type) a . (Monad m, Unbox a) => Unfold m (Array a) a

    streamly-core Streamly.Internal.Data.Array

    Unfold an array into a stream.

Page 283 of many | Previous | Next