Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
module Effectful.Dispatch.Static.
Primitive Primitive API for statically dispatched effects. This module exposes internal implementation details of the Eff monad. Most of the time functions from Effectful.Dispatch.Static are sufficient. Warning: playing the so called "type tetris" with functions from this module is not enough. Their misuse might lead to data races or internal consistency check failures, so make sure you understand what you're doing.
-
effectful-core Effectful.Exception A pattern match failed. The String gives information about the source location of the pattern.
PatternMatchFail :: String -> PatternMatchFaileffectful-core Effectful.Exception No documentation available.
Put :: forall s (a :: Type -> Type) . s -> State s a ()effectful-core Effectful.Internal.MTL No documentation available.
-
effectful-core Effectful.Internal.Monad Persistence setting for the ConcUnlift strategy. Different functions require different persistence strategies. Examples:
- Lifting pooledMapConcurrentlyN from the unliftio library requires the Ephemeral strategy as we don't want jobs to share environment changes made by previous jobs run in the same worker thread.
- Lifting forkIOWithUnmask requires the Persistent strategy, otherwise the unmasking function would start with a fresh environment each time it's called.
-
effectful-core Effectful.Internal.Monad Persist the environment between calls to the unlifting function within a particular thread.
data
Prim (a :: Type -> Type) beffectful-core Effectful.Internal.Monad Provide the ability to perform primitive state-transformer actions.
-
effectful-core Effectful.Internal.Monad PrimState token for Eff. Used instead of RealWorld to prevent the Prim effect from executing arbitrary IO actions via ioToPrim.
-
effectful-core Effectful.Internal.Unlift Persistence setting for the ConcUnlift strategy. Different functions require different persistence strategies. Examples:
- Lifting pooledMapConcurrentlyN from the unliftio library requires the Ephemeral strategy as we don't want jobs to share environment changes made by previous jobs run in the same worker thread.
- Lifting forkIOWithUnmask requires the Persistent strategy, otherwise the unmasking function would start with a fresh environment each time it's called.
-
effectful-core Effectful.Internal.Unlift Persist the environment between calls to the unlifting function within a particular thread.