Associative

zio.prelude.Associative
See theAssociative companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[A](implicit associative: Associative[A]): Associative[A]

Summons an implicit Associative[A].

Summons an implicit Associative[A].

Attributes

def make[A](f: (A, A) => A): Associative[A]

Constructs an Associative instance from an associative binary operator.

Constructs an Associative instance from an associative binary operator.

Attributes

Implicits

Implicits

The Commutative, Idempotent instance for the max of BigDecimal values

The Commutative, Idempotent instance for the max of BigDecimal values

Attributes

The Commutative, Idempotent instance for the min of BigDecimal values

The Commutative, Idempotent instance for the min of BigDecimal values

Attributes

The Commutative, PartialInverse instance for the product of BigDecimal values

The Commutative, PartialInverse instance for the product of BigDecimal values

Attributes

The Commutative, Idempotent instance for the sum of BigDecimal values

The Commutative, Idempotent instance for the sum of BigDecimal values

Attributes

The Commutative and Idempotent instance for the max of BigInt values.

The Commutative and Idempotent instance for the max of BigInt values.

Attributes

The Commutative and Idempotent instance for the min of BigInt values.

The Commutative and Idempotent instance for the min of BigInt values.

Attributes

implicit val BigIntProdCommutativeIdentity: Commutative[subtypeF.Type[BigInt]] & Identity[subtypeF.Type[BigInt]]

The Commutative and Identity instance for the product of BigInt values.

The Commutative and Identity instance for the product of BigInt values.

Attributes

implicit val BigIntSumCommutativeInverse: Commutative[subtypeF.Type[BigInt]] & Inverse[subtypeF.Type[BigInt]]

The Commutative and Inverse instance for the sum of BigInt values.

The Commutative and Inverse instance for the sum of BigInt values.

Attributes

The Commutative, Idempotent and Inverse instance for the AndF of Boolean values.

The Commutative, Idempotent and Inverse instance for the AndF of Boolean values.

Attributes

The Commutative, Idempotent and Inverse instance for the conjunction of Boolean values.

The Commutative, Idempotent and Inverse instance for the conjunction of Boolean values.

Attributes

The Commutative, Idempotent and Inverse instance for the disjunction of Boolean values.

The Commutative, Idempotent and Inverse instance for the disjunction of Boolean values.

Attributes

The Commutative, Idempotent and Identity instance for the max of Boolean values.

The Commutative, Idempotent and Identity instance for the max of Boolean values.

Attributes

The Commutative, Idempotent and Identity instance for the min of Boolean values.

The Commutative, Idempotent and Identity instance for the min of Boolean values.

Attributes

The Commutative, Idempotent and Inverse instance for the OrF`` ofBoolean` values.

The Commutative, Idempotent and Inverse instance for the OrF`` ofBoolean` values.

Attributes

implicit val BooleanProdCommutativeIdentity: Commutative[subtypeF.Type[Boolean]] & Idempotent[subtypeF.Type[Boolean]] & Inverse[subtypeF.Type[Boolean]]

The Commutative, Idempotent and Inverse instance for the product of Boolean values.

The Commutative, Idempotent and Inverse instance for the product of Boolean values.

Attributes

implicit val BooleanSumCommutativeInverse: Commutative[subtypeF.Type[Boolean]] & Idempotent[subtypeF.Type[Boolean]] & Inverse[subtypeF.Type[Boolean]]

The Commutative, Idempotent and Inverse instance for the sum of Boolean values.

The Commutative, Idempotent and Inverse instance for the sum of Boolean values.

Attributes

implicit val ByteMaxIdempotentIdentity: Commutative[subtypeF.Type[Byte]] & Idempotent[subtypeF.Type[Byte]]

The Commutative, Idempotent and Identity instance for the max of Byte values.

The Commutative, Idempotent and Identity instance for the max of Byte values.

Attributes

implicit val ByteMinIdempotentIdentity: Commutative[subtypeF.Type[Byte]] & Idempotent[subtypeF.Type[Byte]]

The Commutative, Idempotent and Identity instance for the min of Byte values.

The Commutative, Idempotent and Identity instance for the min of Byte values.

Attributes

The Commutative and PartialInverse instance for the product of Byte values.

The Commutative and PartialInverse instance for the product of Byte values.

Attributes

implicit val ByteSumCommutativeInverse: Commutative[subtypeF.Type[Byte]] & Inverse[subtypeF.Type[Byte]]

The Commutative and Inverse instance for the sum of Byte values.

The Commutative and Inverse instance for the sum of Byte values.

Attributes

implicit def CauseCommutativeIdentity[A]: Commutative[subtypeF.Type[Cause[A]]] & Identity[subtypeF.Type[Cause[A]]]

The Commutative and Identity instance for Cause.

The Commutative and Identity instance for Cause.

Attributes

implicit def CauseIdentity[A]: Identity[subtypeF.Type[Cause[A]]]

The Identity instance for Cause.

The Identity instance for Cause.

Attributes

implicit val CharMaxIdempotentIdentity: Commutative[subtypeF.Type[Char]] & Idempotent[subtypeF.Type[Char]]

The Commutative, Idempotent and Identity instance for the max of Char values.

The Commutative, Idempotent and Identity instance for the max of Char values.

Attributes

implicit val CharMinIdempotentIdentity: Commutative[subtypeF.Type[Char]] & Idempotent[subtypeF.Type[Char]]

The Commutative, Idempotent and Identity instance for the min of Char values.

The Commutative, Idempotent and Identity instance for the min of Char values.

Attributes

The Commutative and PartialInverse instance for the product of Char values.

The Commutative and PartialInverse instance for the product of Char values.

Attributes

implicit val CharSumCommutativeInverse: Commutative[subtypeF.Type[Char]] & Inverse[subtypeF.Type[Char]]

The Commutative and Inverse instance for the sum of Char values.

The Commutative and Inverse instance for the sum of Char values.

Attributes

implicit def ChunkIdentity[A]: Identity[Chunk[A]]

The Identity instance for the concatenation of Chunk[A] values.

The Identity instance for the concatenation of Chunk[A] values.

Attributes

implicit def DeriveAssociative[F[_], A](implicit derive: Derive[F, Associative], associative: Associative[A]): Associative[F[A]]

Derives an Associative[F[A]] given a Derive[F, Associative] and an Associative[A].

Derives an Associative[F[A]] given a Derive[F, Associative] and an Associative[A].

Attributes

The Commutative, Idempotent and Identity instance for the max of Double values.

The Commutative, Idempotent and Identity instance for the max of Double values.

Attributes

The Commutative, Idempotent and Identity instance for the min of Double values.

The Commutative, Idempotent and Identity instance for the min of Double values.

Attributes

The Commutative and PartialInverse instance for the product of Double values.

The Commutative and PartialInverse instance for the product of Double values.

Attributes

implicit val DoubleSumCommutativeInverse: Commutative[subtypeF.Type[Double]] & Inverse[subtypeF.Type[Double]]

The Commutative and Inverse instance for the sum of Double values.

The Commutative and Inverse instance for the sum of Double values.

Attributes

The Commutative and Identity instance for ZIO Duration values.

The Commutative and Identity instance for ZIO Duration values.

Attributes

Derives an Associative[Either[E, A]] given an Associative[A].

Derives an Associative[Either[E, A]] given an Associative[A].

Attributes

implicit def FirstAssociative[A]: Associative[subtypeF.Type[A]]

The Associative instance for the first of A values.

The Associative instance for the first of A values.

Attributes

The Commutative, Idempotent and Identity instance for the max of Float values.

The Commutative, Idempotent and Identity instance for the max of Float values.

Attributes

The Commutative, Idempotent and Identity instance for the min of Float values.

The Commutative, Idempotent and Identity instance for the min of Float values.

Attributes

The Commutative and PartialInverse instance for the product of Float values.

The Commutative and PartialInverse instance for the product of Float values.

Attributes

implicit val FloatSumCommutativeInverse: Commutative[subtypeF.Type[Float]] & Inverse[subtypeF.Type[Float]]

The Commutative and Inverse instance for the sum of Float values.

The Commutative and Inverse instance for the sum of Float values.

Attributes

implicit def Function1Identity[A]: Identity[A => A]
implicit val IntMaxIdempotentIdentity: Commutative[subtypeF.Type[Int]] & Idempotent[subtypeF.Type[Int]]

The Commutative, Idempotent and Identity instance for the max of Int values.

The Commutative, Idempotent and Identity instance for the max of Int values.

Attributes

implicit val IntMinIdempotentIdentity: Commutative[subtypeF.Type[Int]] & Idempotent[subtypeF.Type[Int]]

The Commutative, Idempotent and Identity instance for the min of Int values.

The Commutative, Idempotent and Identity instance for the min of Int values.

Attributes

implicit def LastAssociative[A]: Associative[subtypeF.Type[A]]

The Associative instance for the last of A values.

The Associative instance for the last of A values.

Attributes

implicit def ListIdentity[A]: Identity[List[A]]

The Identity instance for the concatenation of List[A] values.

The Identity instance for the concatenation of List[A] values.

Attributes

implicit val LongMaxIdempotentIdentity: Commutative[subtypeF.Type[Long]] & Idempotent[subtypeF.Type[Long]]

The Commutative, Idempotent and Identity instance for the max of Long values.

The Commutative, Idempotent and Identity instance for the max of Long values.

Attributes

implicit val LongMinIdempotentIdentity: Commutative[subtypeF.Type[Long]] & Idempotent[subtypeF.Type[Long]]

The Commutative, Idempotent and Identity instance for the min of Long values.

The Commutative, Idempotent and Identity instance for the min of Long values.

Attributes

The Commutative and PartialInverse instance for the product of Long values.

The Commutative and PartialInverse instance for the product of Long values.

Attributes

implicit val LongSumCommutativeInverse: Commutative[subtypeF.Type[Long]] & Inverse[subtypeF.Type[Long]]

The Commutative and Inverse instance for the sum of Long values.

The Commutative and Inverse instance for the sum of Long values.

Attributes

implicit def MapIdentity[K, V : Associative]: Identity[Map[K, V]]

Derives an Identity[Map[K, V]] given an Associative[V].

Derives an Identity[Map[K, V]] given an Associative[V].

Attributes

implicit def MaxCommutative[A : Ord]: Commutative[subtypeF.Type[A]]

The Commutative instance for the maximum of A values for which an Ord is defined.

The Commutative instance for the maximum of A values for which an Ord is defined.

Attributes

implicit def MinCommutative[A : Ord]: Commutative[subtypeF.Type[A]]

The Commutative instance for the minimum of A values for which an Ord is defined.

The Commutative instance for the minimum of A values for which an Ord is defined.

Attributes

The Commutative and Identity instance for the product of Natural values.

The Commutative and Identity instance for the product of Natural values.

Attributes

implicit val NaturalSumCommutativeInverse: Commutative[subtypeF.Type[Natural]] & Inverse[subtypeF.Type[Natural]]

The Commutative and Inverse instance for the sum of Natural values.

The Commutative and Inverse instance for the sum of Natural values.

Attributes

The Associative instance for the concatenation of NonEmptyChunk[A] values.

The Associative instance for the concatenation of NonEmptyChunk[A] values.

Attributes

Derives an Identity[Option[A]] given an Associative[A].

Derives an Identity[Option[A]] given an Associative[A].

Attributes

implicit def ParSeqProdIdentity[A]: Identity[subtypeF.Type[ParSeq[Unit, A]]]
implicit def ParSeqSumCommutativeIdentity[A]: Commutative[subtypeF.Type[ParSeq[Unit, A]]] & Identity[subtypeF.Type[ParSeq[Unit, A]]]
implicit def SetAndFCommutativeIdempotent[A]: Commutative[subtypeF.Type[Set[A]]] & Idempotent[subtypeF.Type[Set[A]]]

The Commutative and Idempotent instance for the intersection of Set[A] values.

The Commutative and Idempotent instance for the intersection of Set[A] values.

Attributes

implicit def SetOrFCommutativeIdempotentInverse[A]: Commutative[subtypeF.Type[Set[A]]] & Idempotent[subtypeF.Type[Set[A]]] & Inverse[subtypeF.Type[Set[A]]]

The Commutative, Idempotent and Inverse instance for the union of Set[A] values.

The Commutative, Idempotent and Inverse instance for the union of Set[A] values.

Attributes

implicit val ShortMaxIdempotentIdentity: Commutative[subtypeF.Type[Short]] & Idempotent[subtypeF.Type[Short]]

The Commutative, Idempotent and Identity instance for the max of Short values.

The Commutative, Idempotent and Identity instance for the max of Short values.

Attributes

implicit val ShortMinIdempotentIdentity: Commutative[subtypeF.Type[Short]] & Idempotent[subtypeF.Type[Short]]

The Commutative, Idempotent and Identity instance for the min of Short values.

The Commutative, Idempotent and Identity instance for the min of Short values.

Attributes

The Commutative and PartialInverse instance for the product of Short values.

The Commutative and PartialInverse instance for the product of Short values.

Attributes

implicit val ShortSumCommutativeInverse: Commutative[subtypeF.Type[Short]] & Inverse[subtypeF.Type[Short]]

The Commutative and Inverse instance for the sum of Short values.

The Commutative and Inverse instance for the sum of Short values.

Attributes

implicit val StringIdentity: Identity[String]

The Identity instance for the concatenation of String values.

The Identity instance for the concatenation of String values.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

Derives an Associative for a product type given an Associative for each element of the product type.

Derives an Associative for a product type given an Associative for each element of the product type.

Attributes

implicit def VectorIdentity[A]: Identity[Vector[A]]

The Identity instance for the concatenation of Vector[A] values.

The Identity instance for the concatenation of Vector[A] values.

Attributes

implicit def zioCauseProdIdentity[A]: Identity[subtypeF.Type[Cause[A]]]
implicit def zioCauseSumCommutativeIdentity[A]: Commutative[subtypeF.Type[Cause[A]]] & Identity[subtypeF.Type[Cause[A]]]

Inherited implicits

implicit def FxCauseProdAssociative[A]: Associative[subtypeF.Type[Cause[A]]]

Attributes

Inherited from:
AssociativeLowPriority
implicit def FxCauseSumCommutative[A]: Commutative[subtypeF.Type[Cause[A]]]

Attributes

Inherited from:
AssociativeLowPriority

The Commutative and PartialInverse instance for the product of Int values.

The Commutative and PartialInverse instance for the product of Int values.

Attributes

Inherited from:
AssociativeLowPriority
implicit val IntSumCommutativeInverse: Commutative[subtypeF.Type[Int]] & Inverse[subtypeF.Type[Int]]

The Commutative and Inverse instance for the sum of Int values.

The Commutative and Inverse instance for the sum of Int values.

Attributes

Inherited from:
AssociativeLowPriority