data-effects-0.4.2.0: A basic framework for effect systems based on effects represented by GADTs.
Copyright(c) 2025 Sayo contributors
LicenseMPL-2.0 (see the file LICENSE)
Maintainerymdfield@outlook.jp
Safe HaskellNone
LanguageGHC2021

Data.Effect.Fix

Description

 

Documentation

efix :: forall b a (es :: [Effect]) (ff :: (Type -> Type) -> Type -> Type) (c :: (Type -> Type) -> Constraint). (Free c ff, a ~ Eff ff es, Fix :> es) => (b -> a b) -> a b Source #

efix' :: forall {k} (key :: k) b a (es :: [Effect]) (ff :: (Type -> Type) -> Type -> Type) (c :: (Type -> Type) -> Constraint). (Free c ff, a ~ Eff ff es, Has key Fix es) => (b -> a b) -> a b Source #

efix'' :: forall {k} (tag :: k) b a (es :: [Effect]) (ff :: (Type -> Type) -> Type -> Type) (c :: (Type -> Type) -> Constraint). (Free c ff, a ~ Eff ff es, Tagged tag Fix :> es) => (b -> a b) -> a b Source #

efix'_ :: forall b a (es :: [Effect]) (ff :: (Type -> Type) -> Type -> Type) (c :: (Type -> Type) -> Constraint). (Free c ff, a ~ Eff ff es, In Fix es) => (b -> a b) -> a b Source #

data Fix (a :: Type -> Type) b where #

Constructors

Efix :: forall b (a :: Type -> Type). (b -> a b) -> Fix a b 

Instances

Instances details
PolyHFunctor Fix 
Instance details

Defined in Data.Effect

HFunctor Fix 
Instance details

Defined in Data.Effect

Methods

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

type FormOf Fix 
Instance details

Defined in Data.Effect

type LabelOf Fix 
Instance details

Defined in Data.Effect

type OrderOf Fix 
Instance details

Defined in Data.Effect