CommutativeEitherOps

zio.prelude.CommutativeEitherSyntax.CommutativeEitherOps
implicit class CommutativeEitherOps[F[_], A](fa: => F[A])

Provides infix syntax for commutative operations for invariant types.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def <|>[B](fb: => F[B])(implicit either: CommutativeEither[F]): F[Either[A, B]]

A symbolic alias for orElseEitherPar.

A symbolic alias for orElseEitherPar.

Attributes

def orElseEitherPar[B](fb: => F[B])(implicit either: CommutativeEither[F]): F[Either[A, B]]

Combines two values of types F[A] and F[B] to produce an F[Either[A, B]].

Combines two values of types F[A] and F[B] to produce an F[Either[A, B]].

Attributes