Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class TribotEitherEffectDefault<E, A>(control: DelimitedScope<Either<E, A>>, defaultBoolBind: E) : TribotEitherEffect<E, A>
Functions
Link copied to clipboard
Provides a non-suspending monad comprehension for the Either type
fun <L, R> tribotEither(defaultBoolBind: L, func: suspend TribotEitherEffectDefault<L, *>.() -> R): Either<L, R>
Provides a non-suspending monad comprehension for the Either type with a default binding for boolean values