CovariantLaws

zio.prelude.laws.CovariantLaws
object CovariantLaws extends Covariant[[F[_]] =>> CovariantDeriveEqual[F], Equal]

Attributes

Graph
Supertypes
trait Covariant[[F[_]] =>> CovariantDeriveEqual[F], Equal, Any]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def +[CapsF1 <: ([x[_]] =>> CovariantDeriveEqual[x]), Caps1 <: (Equal), R1](that: Covariant[CapsF1, Caps1, R1]): Covariant[CapsF1, Caps1, R1]

Attributes

Inherited from:
Covariant

Concrete fields

Mapping by f followed by g must be the same as mapping with the composition of f and g.

Mapping by f followed by g must be the same as mapping with the composition of f and g.

Attributes

lazy val identityLaw: Covariant[[F[_]] =>> CovariantDeriveEqual[F], Equal]

Mapping with the identity function must be an identity function.

Mapping with the identity function must be an identity function.

Attributes

lazy val laws: Covariant[[F[_]] =>> CovariantDeriveEqual[F], Equal]

The set of all laws that instances of Covariant must satisfy.

The set of all laws that instances of Covariant must satisfy.

Attributes