AssociativeOps

zio.prelude.AssociativeSyntax.AssociativeOps
implicit class AssociativeOps[+A](l: A)

Provides infix syntax for combining two values with an associative operation.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def <>[A1 >: A](r: => A1)(implicit associative: Associative[A1]): A1

A symbolic alias for combine.

A symbolic alias for combine.

Attributes

def combine[A1 >: A](r: => A1)(implicit associative: Associative[A1]): A1

Associatively combines this value with the specified value

Associatively combines this value with the specified value

Attributes

def multiplyOption[A1 >: A](n: Int)(implicit associative: Associative[A1]): Option[A1]

Associatively multiplies value 'n' times

Associatively multiplies value 'n' times

Attributes

def repeat[A1 >: A](n: Int)(implicit associative: Associative[A1]): A1

Associatively repeats value 'n' times

Associatively repeats value 'n' times

Attributes