Packages

c

zio.prelude.CommutativeEitherSyntax

CommutativeEitherCovariantOps

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

Provides infix syntax for commutative operations for covariant types.

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

Instance Constructors

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

Value Members

  1. def orElsePar(fa2: => F[A])(implicit either: CommutativeEither[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.