TribotEitherEffect

public interface TribotEitherEffect<E extends Object, A extends Object> implements Effect<Either<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)
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
abstract DelimitedScope<Either<E, A>> control()

Inheritors

TribotEitherEffectDefault
Link copied to clipboard