CommutativeBothOps

zio.prelude.CommutativeBothSyntax.CommutativeBothOps
implicit class CommutativeBothOps[F[_], A](fa: => F[A])

Provides infix syntax for commutative operations for invariant types.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def <&>[B](fb: => F[B])(implicit both: CommutativeBoth[F]): F[(A, B)]

A symbolic alias for zipPar.

A symbolic alias for zipPar.

Attributes

def zipPar[B](fb: => F[B])(implicit both: CommutativeBoth[F]): 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