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

Data.Effect.Fresh

Description

 

Documentation

data Fresh i (a :: Type) where Source #

Constructors

Fresh :: Fresh i i 

type LFresh i = LiftIns (Fresh i) Source #

pattern LFresh :: () => (a ~ i, ()) => LiftIns (Fresh i) f a Source #

fresh'' :: forall key (i :: Type) f. SendInsBy key (Fresh i) f => f i Source #

fresh' :: forall tag (i :: Type) f. SendIns (Tag (Fresh i) tag) f => f i Source #

fresh :: forall (i :: Type) f. SendIns (Fresh i) f => f i Source #