Instances1DispatchOf
type DispatchOf (Input i) = 'DynamicDefined in effectful-core-2.7.1.2 · Effectful.Input.Dynamic
:: a typeCtrl KGHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11
Moduleeffectful-core-2.7.1.2GHC2021
The dynamically dispatched variant of the Input effect.
Note: unless you plan to change interpretations at runtime, it's recommended to use one of the statically dispatched variants, i.e. Effectful.Input.Static or Effectful.Input.Static.Action.
type DispatchOf (Input i) = 'DynamicDefined in effectful-core-2.7.1.2 · Effectful.Input.DynamicRun the Input effect with the given value.
runInputAction :: HasCallStack=> (HasCallStack => Eff es i)The action for input generation.
-> Eff (Input i ': es) a-> Eff es aRun the Input effect with the given action that supplies values.
Fetch the value.
inputs :: (HasCallStack, Input i :> es)=> (i -> a)The function to apply to the value.
-> Eff es a