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. modifyThread :: forall m (t :: (Type -> Type) -> Type -> Type) a . MonadIO m => SVar t m a -> ThreadId -> m ()

    streamly Streamly.Internal.Data.SVar

    No documentation available.

  2. maxThreads :: forall t (m :: Type -> Type) a . IsStream t => Int -> t m a -> t m a

    streamly Streamly.Internal.Data.Stream.IsStream

    Specify the maximum number of threads that can be spawned concurrently for any concurrent combinator in a stream. A value of 0 resets the thread limit to default, a negative value means there is no limit. The default value is 1500. maxThreads does not affect ParallelT streams as they can use unbounded number of threads. When the actions in a stream are IO bound, having blocking IO calls, this option can be used to control the maximum number of in-flight IO requests. When the actions are CPU bound this option can be used to control the amount of CPU used by the stream. Since: 0.4.0 (Streamly)

  3. maxThreads :: forall t (m :: Type -> Type) a . IsStream t => Int -> t m a -> t m a

    streamly Streamly.Internal.Data.Stream.IsStream

    Specify the maximum number of threads that can be spawned concurrently for any concurrent combinator in a stream. A value of 0 resets the thread limit to default, a negative value means there is no limit. The default value is 1500. maxThreads does not affect ParallelT streams as they can use unbounded number of threads. When the actions in a stream are IO bound, having blocking IO calls, this option can be used to control the maximum number of in-flight IO requests. When the actions are CPU bound this option can be used to control the amount of CPU used by the stream. Since: 0.4.0 (Streamly)

  4. runReaderT :: (IsStream t, Monad m) => m s -> t (ReaderT s m) a -> t m a

    streamly Streamly.Internal.Data.Stream.IsStream

    Evaluate the inner monad of a stream as ReaderT.

  5. usingReaderT :: (Monad m, IsStream t) => m r -> (t (ReaderT r m) a -> t (ReaderT r m) a) -> t m a -> t m a

    streamly Streamly.Internal.Data.Stream.IsStream

    Run a stream transformation using a given environment. See also: map Internal

  6. class Monad m => MonadReader r (m :: Type -> Type) | m -> r

    streamly Streamly.Internal.Data.Stream.MkType

    See examples in Control.Monad.Reader. Note, the partially applied function type (->) r is a simple reader monad. See the instance declaration below.

  7. accountThread :: Channel (m :: Type -> Type) a -> ThreadId -> m ()

    streamly Streamly.Internal.Data.Stream.Prelude

    No documentation available.

  8. maxThreads :: Int -> Config -> Config

    streamly Streamly.Internal.Data.Stream.Prelude

    Specify the maximum number of threads that can be spawned by the channel. A value of 0 resets the thread limit to default, a negative value means there is no limit. The default value is 1500. When the actions in a stream are IO bound, having blocking IO calls, this option can be used to control the maximum number of in-flight IO requests. When the actions are CPU bound this option can be used to control the amount of CPU used by the stream.

  9. workerThreads :: Channel (m :: Type -> Type) a -> IORef (Set ThreadId)

    streamly Streamly.Internal.Data.Stream.Prelude

    No documentation available.

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

    streamly Streamly.Internal.Network.Socket

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

Page 824 of many | Previous | Next