data-effects-0.1.2.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.Output

Description

This module provides the Output effect, comes from Polysemy.Output in the polysemy package.

Documentation

data Output o a where Source #

Constructors

Output :: o -> Output o () 

pattern LOutput :: () => (a ~ (), ()) => o -> LiftIns (Output o) f a Source #

output'' :: forall key (o :: Type) f. SendInsBy key (Output o) f => o -> f () Source #

output' :: forall tag (o :: Type) f. SendIns (Tag (Output o) tag) f => o -> f () Source #

output :: forall (o :: Type) f. SendIns (Output o) f => o -> f () Source #