Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

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

  1. usingReaderT :: Monad m => m r -> (Stream (ReaderT r m) a -> Stream (ReaderT r m) a) -> Stream m a -> Stream m a

    streamly-core Streamly.Internal.Data.Stream

    Run a stream transformation using a given environment.

  2. ThreadCPUTime :: Clock

    streamly-core Streamly.Internal.Data.Time.Clock

    The identifier of the CPU-time clock associated with the calling OS thread. For this clock, the value returned by getTime represents the amount of execution time of the current OS thread.

  3. dirReader :: forall (m :: Type -> Type) . (MonadIO m, MonadCatch m) => Unfold m FilePath FilePath

    streamly-core Streamly.Internal.FileSystem.Dir

    Read directories only. Filter out "." and ".." entries. Internal

  4. eitherReader :: forall (m :: Type -> Type) . (MonadIO m, MonadCatch m) => Unfold m FilePath (Either FilePath FilePath)

    streamly-core Streamly.Internal.FileSystem.Dir

    Read directories as Left and files as Right. Filter out "." and ".." entries. Internal

  5. eitherReaderPaths :: forall (m :: Type -> Type) . (MonadIO m, MonadCatch m) => Unfold m FilePath (Either FilePath FilePath)

    streamly-core Streamly.Internal.FileSystem.Dir

    No documentation available.

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

    streamly-core Streamly.Internal.FileSystem.Dir

    Read files only. Internal

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

    streamly-core Streamly.Internal.FileSystem.File

    Unfolds a FilePath into a stream of Word8 arrays. Requests to the IO device are performed using a buffer of size defaultChunkSize. The size of arrays in the resulting stream are therefore less than or equal to defaultChunkSize. Pre-release

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

    streamly-core Streamly.Internal.FileSystem.File

    Unfold the tuple (from, to, bufsize, filepath) into a stream of Word8 arrays. Read requests to the IO device are performed using a buffer of size bufsize starting from absolute offset of from till the absolute position of to. The size of an array in the resulting stream is always less than or equal to bufsize. Pre-release

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

    streamly-core Streamly.Internal.FileSystem.File

    Unfold the tuple (bufsize, filepath) into a stream of Word8 arrays. Read requests to the IO device are performed using a buffer of size bufsize. The size of an array in the resulting stream is always less than or equal to bufsize. Pre-release

  10. chunkReader :: forall (m :: Type -> Type) . MonadIO m => Unfold m Handle (Array Word8)

    streamly-core Streamly.Internal.FileSystem.Handle

    Unfolds a handle into a stream of Word8 arrays. Requests to the IO device are performed using a buffer of size defaultChunkSize. The size of arrays in the resulting stream are therefore less than or equal to defaultChunkSize.

    >>> chunkReader = Unfold.first IO.defaultChunkSize Handle.chunkReaderWith
    

Page 730 of many | Previous | Next