Choice
turbolift.effects.Choice
trait Choice extends ChoiceEffect
Attributes
- Graph
-
- Supertypes
-
trait ChoiceEffecttrait ChoiceSignaturetrait Effect[ChoiceSignature]trait CanPerform[ChoiceSignature]trait Signatureclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object Each
Members list
Type members
Inherited classlikes
object handlers
Predefined handlers for this effect.
Predefined handlers for this effect.
Attributes
- Inherited from:
- ChoiceEffect
- Supertypes
-
class Objecttrait Matchableclass Any
Inherited types
Value members
Inherited methods
Combines with another Effect instance, for the purpose of sharing an Interpreter.
Combines with another Effect instance, for the purpose of sharing an Interpreter.
Attributes
- Inherited from:
- Effect
Attributes
- Inherited from:
- ChoiceEffect
Attributes
- Definition Classes
- Inherited from:
- ChoiceEffect
Attributes
- Definition Classes
- Inherited from:
- ChoiceEffect
Attributes
- Inherited from:
- ChoiceEffect
Attributes
- Inherited from:
- ChoiceEffect
Attributes
- Inherited from:
- ChoiceEffect
final inline def perform[A, U <: ThisEffect](inline f: (ChoiceSignature & Signature { type ThisEffect = U; }) => Computation[A, U]): Computation[A, U]
Lifts an invocation of this Signature's method into the Computation monad.
Lifts an invocation of this Signature's method into the Computation monad.
Attributes
- Inherited from:
- CanPerform
final def plus[A, U <: Choice](lhs: Computation[A, U], rhs: => Computation[A, U]): Computation[A, U]
Attributes
- Inherited from:
- ChoiceEffect
final def plusPar[A, U <: Choice](lhs: Computation[A, U], rhs: Computation[A, U]): Computation[A, U]
Attributes
- Inherited from:
- ChoiceEffect
Inherited fields
Attributes
- Inherited from:
- ChoiceEffect
Object containing type definitions, to be used for implementing Interpreters for this effect.
Object containing type definitions, to be used for implementing Interpreters for this effect.
Attributes
- Inherited from:
- Effect
Exports
Defined exports
Exported from handlers
Inherited defined exports
Exported from EffectImpl
Attributes
- Inherited from:
- Effect
In this article