AssociativeEitherOps

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

Provides infix syntax for associative 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: AssociativeEither[F]): F[Either[A, B]]

A symbolic alias for orElseEither.

A symbolic alias for orElseEither.

Attributes

def orElseEither[B](fb: => F[B])(implicit either: AssociativeEither[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