Packages

c

zio.prelude.AssociativeEitherSyntax

AssociativeEitherCovariantOps

implicit class AssociativeEitherCovariantOps[F[+_], A] extends AnyRef

Provides infix syntax for associative operations for covariant types.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AssociativeEitherCovariantOps
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AssociativeEitherCovariantOps(fa: => F[A])

Value Members

  1. def eventually(implicit either: AssociativeEither[F], covariant: Covariant[F]): F[A]

    Combines an F[A] value with itself using orElse until it eventually returns the result of the left value without having to evaluate the right value.

  2. def orElse(fa2: => F[A])(implicit either: AssociativeEither[F], covariant: Covariant[F]): F[A]

    Combines two values of types F[A] and F[A] to produce an F[Either[A, A]] and then merges the result.