classy-effects-th-0.1.0.0: Automatic compliance with the classy-effects protocols
Safe HaskellSafe-Inferred
LanguageGHC2021

Control.Effect.Class.Machinery.TH.Send.Internal

Synopsis

Documentation

effectMethodDec Source #

Arguments

:: [Name]

The type parameters of the effect.

-> MethodInterface

The interface of the effect method.

-> Name

The name of effect data constructor corresponding to the method.

-> Q [Dec] 

Generate a method implementation of the effect that handles via SendIns/ SendSig type classes.