Instances1DispatchOf
type DispatchOf (Reader r) = 'DynamicDefined in effectful-core-2.3.0.1 · Effectful.Reader.Dynamic
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Moduleeffectful-core-2.3.0.1Haskell2010
The dynamically dispatched variant of the Reader effect.
Note: unless you plan to change interpretations at runtime, it's recommended to use the statically dispatched variant, i.e. Effectful.Reader.Static.
type DispatchOf (Reader r) = 'DynamicDefined in effectful-core-2.3.0.1 · Effectful.Reader.DynamicRun the Reader effect with the given initial environment (via Effectful.Reader.Static).
withReader Execute a computation in a modified environment.
Fetch the value of the environment.
asks :: (HasCallStack, Reader r :> es)=> (r -> a)The function to apply to the environment.
-> Eff es a