data-effects-0.1.2.0: A basic framework for effect systems based on effects represented by GADTs.
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Effect.Fix

Documentation

data Fix f a where Source #

Constructors

Mfix :: (a -> f a) -> Fix f a 

Instances

Instances details
() => HFunctor Fix Source # 
Instance details

Defined in Data.Effect.Fix

Methods

hfmap :: forall (f :: Type -> Type) (g :: Type -> Type). (f :-> g) -> Fix f :-> Fix g #

mfix'' :: forall key (a :: Type) f. SendSigBy key Fix f => (a -> f a) -> f a Source #

mfix' :: forall tag (a :: Type) f. SendSig (TagH Fix tag) f => (a -> f a) -> f a Source #

mfix :: forall (a :: Type) f. SendSig Fix f => (a -> f a) -> f a Source #