ChoiceEffect

sealed trait ChoiceEffect extends Effect[ChoiceSig] with ChoiceSig
trait ChoiceSig
trait CanInterpret
trait HasSignature
trait CanPerform[ChoiceSig]
trait Signature
class Object
trait Matchable
class Any
trait Choice
object Each.type
object Fail.type

Type members

Classlikes

object handlers

Inherited classlikes

abstract class Proxy[Fx] extends ProxyWithParam[Fx] with ThisInterpreter
Inherited from:
CanInterpret
abstract class Stateful[S, F[_]] extends Stateful[S, F] with ThisInterpreter
Inherited from:
CanInterpret
abstract class Stateless[F[_]] extends Stateless[F] with ThisInterpreter
Inherited from:
CanInterpret
Inherited from:
CanInterpret
sealed trait ThisInterpreter extends Unsealed
Inherited from:
CanInterpret

Inherited types

final override type !@![+A, U] = Computation[A, U]
Inherited from:
CanPerform
final override type ThisEffect = Effect
Inherited from:
Effect
final type ThisHandler[F[_], N] = Handler[F, ThisEffect, N]
Inherited from:
CanInterpret
final override type ThisSignature = Z
Inherited from:
Effect

Value members

Concrete methods

final def apply[A](as: A*): Computation[A, ChoiceEffect]
final override def choose[A](as: Iterable[A]): Computation[A, ChoiceEffect]
Definition Classes
final def empty: Computation[Nothing, ChoiceEffect]
final def fromEither[E, A](x: Either[E, A]): Computation[A, ChoiceEffect]
final def fromOption[A](x: Option[A]): Computation[A, ChoiceEffect]
final def fromTry[A](x: Try[A]): Computation[A, ChoiceEffect]
final override def orElse[A, U <: ChoiceEffect](lhs: Computation[A, U], rhs: => Computation[A, U]): Computation[A, U]
Definition Classes
final def plus[A, U <: ChoiceEffect](lhs: Computation[A, U], rhs: => Computation[A, U]): Computation[A, U]

Inherited methods

final def &![Fx2 <: HasSignature](fx2: Fx2): Combine2[ChoiceEffect, Fx2]
Inherited from:
Effect
final def perform[A, U <: ThisEffect](f: ChoiceSig & Apply[U] => A !@! U { def apply(z: ChoiceSig & Apply[U]): A !@! U; }): Computation[A, U]
Inherited from:
CanPerform
final def pure[A](a: A): Computation[A, ThisEffect]
Inherited from:
CanPerform
final override def signatures: Array[Signature]
Definition Classes
Effect -> CanInterpret
Inherited from:
Effect

Concrete fields

final override val fail: Computation[Nothing, ChoiceEffect]