CommutativeBothCovariantOps

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

Provides infix syntax for commutative operations for covariant types.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def zipWithPar[B, C](fb: => F[B])(f: (A, B) => C)(implicit both: CommutativeBoth[F], covariant: Covariant[F]): F[C]

Combines two values of types F[A] and F[B] to produce an F[(A, B)] and then maps the result with the specified function.

Combines two values of types F[A] and F[B] to produce an F[(A, B)] and then maps the result with the specified function.

Attributes