HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleeffectful-core-2.3.0.1Haskell2010

Effectful.Reader.Dynamic

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.

  • 1 type
  • 5 values

Effect

1 declaration

Handlers

valuewithReader
  1. :: (r1 -> r2)

    The function to modify the environment.

  2. -> Eff (Reader r2 ': es) a

    Computation to run in the modified environment.

  3. -> Eff (Reader r1 ': es) a
#

Execute a computation in a modified environment.

Operations