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. reader :: forall (m :: Type -> Type) . (MonadIO m, MonadCatch m) => Unfold m FilePath FilePath

    streamly-core Streamly.Internal.FileSystem.Dir

    No documentation available.

  2. readChunks :: forall (m :: Type -> Type) . (MonadIO m, MonadCatch m) => FilePath -> Stream m (Array Word8)

    streamly-core Streamly.Internal.FileSystem.File

    readChunks file reads a stream of arrays from file file. The maximum size of a single array is limited to defaultChunkSize. The actual size read may be less than defaultChunkSize.

    readChunks = readChunksWith defaultChunkSize
    
    Pre-release

  3. readChunksFromToWith :: forall (m :: Type -> Type) . (MonadIO m, MonadCatch m) => Unfold m (Int, Int, Int, FilePath) (Array Word8)

    streamly-core Streamly.Internal.FileSystem.File

    Deprecated: Please use chunkReaderFromToWith instead

  4. readChunksWith :: forall (m :: Type -> Type) . (MonadIO m, MonadCatch m) => Int -> FilePath -> Stream m (Array Word8)

    streamly-core Streamly.Internal.FileSystem.File

    readChunksWith size file reads a stream of arrays from file file. The maximum size of a single array is specified by size. The actual size read may be less than or equal to size. Pre-release

  5. readChunksWithBufferOf :: forall (m :: Type -> Type) . (MonadIO m, MonadCatch m) => Unfold m (Int, FilePath) (Array Word8)

    streamly-core Streamly.Internal.FileSystem.File

    Deprecated: Please use chunkReaderWith instead

  6. readWithBufferOf :: forall (m :: Type -> Type) . (MonadIO m, MonadCatch m) => Unfold m (Int, FilePath) Word8

    streamly-core Streamly.Internal.FileSystem.File

    Deprecated: Please use readerWith instead

  7. reader :: forall (m :: Type -> Type) . (MonadIO m, MonadCatch m) => Unfold m FilePath Word8

    streamly-core Streamly.Internal.FileSystem.File

    Unfolds a file path into a byte stream. IO requests to the device are performed in sizes of defaultChunkSize. Pre-release

  8. readerWith :: forall (m :: Type -> Type) . (MonadIO m, MonadCatch m) => Unfold m (Int, FilePath) Word8

    streamly-core Streamly.Internal.FileSystem.File

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

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

    streamly-core Streamly.Internal.FileSystem.Handle

    getChunks handle reads a stream of arrays from the specified file handle. The maximum size of a single array is limited to defaultChunkSize. The actual size read may be less than or equal to defaultChunkSize.

    >>> readChunks = Handle.readChunksWith IO.defaultChunkSize
    
    Pre-release

  10. readChunksWith :: forall (m :: Type -> Type) . MonadIO m => Int -> Handle -> Stream m (Array Word8)

    streamly-core Streamly.Internal.FileSystem.Handle

    readChunksWith size handle reads a stream of arrays from the file handle handle. The maximum size of a single array is limited to size. The actual size read may be less than or equal to size.

    >>> readChunksWith size h = Stream.unfold Handle.chunkReaderWith (size, h)
    

Page 286 of many | Previous | Next