TribotEitherEffectDefault

public final class TribotEitherEffectDefault<E extends Object, A extends Object> implements TribotEitherEffect<E, A>

Functions

bind
Link copied to clipboard
B bind<B extends Any>(Either<E, B> $self)
B bind<B extends Any>(Validated<E, B> $self)
final Unit bind(Boolean $self)
Binds this to the scope by shifting the Left value (defaultBoolBind) if this is false, causing the comprehension to short circuit.
bindOrElse
Link copied to clipboard
Unit bindOrElse(Boolean $self, E defaultLeft)
Binds this to the scope by shifting the Left value (defaultLeft) if this is false, causing the comprehension to short circuit.
control
Link copied to clipboard
DelimitedScope<Either<E, A>> control()