data-effects-core-0.1.0.0: A basic framework for effect systems based on effects represented by GADTs.
Copyright(c) 2024 Yamada Ryo
LicenseMPL-2.0 (see the file LICENSE)
Maintainerymdfield@outlook.jp
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Effect.HFunctor.HCont

Description

 
Synopsis

Documentation

newtype HCont ff b f (a :: Type) Source #

This represents that the effect ff is finally interpreted as the base carrier b.

Constructors

HCont 

Fields

Instances

Instances details
HFunctor (HCont ff g) Source # 
Instance details

Defined in Data.Effect.HFunctor.HCont

Methods

hfmap :: forall (f :: Type -> Type) (g0 :: Type -> Type). (f :-> g0) -> HCont ff g f :-> HCont ff g g0 #

Functor (ff b) => Functor (HCont ff b f) Source # 
Instance details

Defined in Data.Effect.HFunctor.HCont

Methods

fmap :: (a -> b0) -> HCont ff b f a -> HCont ff b f b0 #

(<$) :: a -> HCont ff b f b0 -> HCont ff b f a #

type (~~>) = HCont infixr 8 Source #