Base trait for custom instances of Choice effect.
case object MyChoice extends ChoiceEffect
// optional:
type MyChoice = MyChoice.type
Attributes
- See also
- Companion
- object
- Graph
-
- Supertypes
-
trait ChoiceSignaturetrait Signaturetrait Effect[ChoiceSignature]class Objecttrait Matchableclass AnyShow all
- Known subtypes
- Self type
Members list
Value members
Concrete methods
Attributes
- Definition Classes
Attributes
- Definition Classes
Alias of the default handler for this effect.
Alias of the default handler for this effect.
Defined as an extension, to allow custom redefinitions without restrictions imposed by overriding
Attributes
Inherited methods
API for defining custom handlers.
API for defining custom handlers.
Combines with another Effect instance, for the purpose of sharing an Interpreter.
Example of application: implement RWS
-alike handler for Reader &! Writer &! State
composition of effects.
Attributes
- Inherited from:
- Effect
API for defining custom effects.
API for defining custom effects.
Embeds an invocation of this Signature's method into the Computation monad. This provides mechanism for separation between syntax an semantics of effects.
Attributes
- Inherited from:
- Effect
API for defining custom effects.
Concrete fields
Inherited fields
API for defining custom handlers.
API for defining custom handlers.
Helper object providing type definitions to be used for implementing Interpreters for this effect.
Attributes
- Inherited from:
- Effect