AssociativeFlattenCovariantDeriveEqual

zio.prelude.coherent.AssociativeFlattenCovariantDeriveEqual
See theAssociativeFlattenCovariantDeriveEqual companion object

Attributes

Companion
object
Graph
Supertypes
trait Derive[F, Equal]
trait Covariant[F]
trait Invariant[F]
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Inherited methods

final def compose[G[_]](implicit g: Contravariant[G]): Contravariant[{ type lambda = [A] =>> F[G[A]]; }#<none>]

Compose covariant and contravariant functors.

Compose covariant and contravariant functors.

Attributes

Inherited from:
Covariant
final def compose[G[_]](implicit g: Covariant[G]): Covariant[{ type lambda = [A] =>> F[G[A]]; }#<none>]

Compose two covariant functors.

Compose two covariant functors.

Attributes

Inherited from:
Covariant
final def compose[G[_]](implicit g: Invariant[G]): Invariant[{ type lambda = [A] =>> F[G[A]]; }#<none>]

Compose two invariant functors.

Compose two invariant functors.

Attributes

Inherited from:
Invariant
def compositionLaw[A, B, C](fa: F[A], f: Equivalence[A, B], g: Equivalence[B, C])(implicit equal: Equal[F[C]]): Boolean

Attributes

Inherited from:
Invariant
def fproduct[A, B](f: A => B): (F[A]) => F[(A, B)]

Attributes

Inherited from:
Covariant
def fproductLeft[A, B](f: A => B): (F[A]) => F[(B, A)]

Attributes

Inherited from:
Covariant
def identityLaw1[A](fa: F[A])(implicit equal: Equal[F[A]]): Boolean

Attributes

Inherited from:
Invariant
final def invmap[A, B](f: Equivalence[A, B]): Equivalence[F[A], F[B]]

Attributes

Inherited from:
Covariant
final def mapSubset[A, B : AnyType](f: A => B): (F[A]) => F[B]

Attributes

Inherited from:
Covariant

Inherited and Abstract methods

def derive[A : Equal]: Equal[F[A]]

Attributes

Inherited from:
Derive
def flatten[A](ffa: F[F[A]]): F[A]

Flattens a value of type F[F[A]] to produce an F[A].

Flattens a value of type F[F[A]] to produce an F[A].

Attributes

Inherited from:
AssociativeFlatten
def map[A, B](f: A => B): (F[A]) => F[B]

Lift a function from A to B to a function from F[A] to F[B].

Lift a function from A to B to a function from F[A] to F[B].

Attributes

Inherited from:
Covariant