c

zio.prelude.CommutativeBothSyntax

CommutativeBothCovariantOps

implicit class CommutativeBothCovariantOps[F[+_], A] extends AnyRef

Provides infix syntax for commutative operations for covariant types.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommutativeBothCovariantOps
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CommutativeBothCovariantOps(fa: => F[A])

Value Members

  1. 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.