AssociativeEither

zio.prelude.AssociativeEither
See theAssociativeEither companion object
trait AssociativeEither[F[_]]

An associative binary operator that combines two values of types F[A] and F[B] to produce an F[Either[A, B]].

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def either[A, B](fa: => F[A], fb: => F[B]): 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