TribotEitherEffect

fun interface TribotEitherEffect<E, A> : Effect<Either<E, A>>

Inheritors

Functions

Link copied to clipboard
open suspend fun <B> Either<E, B>.bind(): B
open suspend fun <B> Validated<E, B>.bind(): B
Link copied to clipboard
open suspend fun Boolean.bindOrElse(defaultLeft: E)

Binds this to the scope by shifting the Left value (defaultLeft) if this is false, causing the comprehension to short circuit. If this is true, the execution will proceed.

Link copied to clipboard
abstract fun control(): DelimitedScope<Either<E, A>>