IdentityEither

zio.prelude.IdentityEither
See theIdentityEither companion object
trait IdentityEither[F[_]] extends AssociativeEither[F]

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

Attributes

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

Members list

Value members

Abstract methods

def none: F[Nothing]

The identity for combining two values of types F[A] and F[B] to produce an F[Either[A, B]].

The identity for combining two values of types F[A] and F[B] to produce an F[Either[A, B]].

Attributes

Inherited 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

Inherited from:
AssociativeEither