IdentityBoth

zio.prelude.IdentityBoth
See theIdentityBoth companion object
trait IdentityBoth[F[_]] extends AssociativeBoth[F]

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

Attributes

Companion
object
Graph
Supertypes
trait AssociativeBoth[F]
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def any: F[Any]

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

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

Attributes

Inherited methods

def both[A, B](fa: => F[A], fb: => F[B]): F[(A, B)]

Combines two values of types F[A] and F[B] to produce an F[(A, B)].

Combines two values of types F[A] and F[B] to produce an F[(A, B)].

Attributes

Inherited from:
AssociativeBoth