HORIZON HASKELLDocslts/ghc-10.0.xa8896112026-10-18Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · a889611 · 2026-10-18

  • Packagehnix-0.17.0
  • Exports2
  • LanguageHaskell2010
  • LicenceBSD-3-Clause

MonadValue - a main implementation class

1 declaration
classclass MonadValue v (m :: Type -> Type) where
#

Methods

  • defer :: m v -> m v

    Wrap value into a thunk.

  • demand :: v -> m v

    Force the evaluation of the value.

  • inform :: v -> m v

    If v is a thunk, inform allows us to modify the action to be performed by the thunk, perhaps by enriching it with scope info, for example.

Instances3MonadValue

MonadValueF - a Kleisli-able customization class

1 declaration
classclass MonadValueF v (m :: Type -> Type) where
#

Methods

Instances3MonadValueF