cats.laws.ComonadLaws
See theComonadLaws companion object
trait ComonadLaws[F[_]] extends CoflatMapLaws[F]
Laws that must be obeyed by any Comonad
.
Attributes
- Companion
- object
- Source
- ComonadLaws.scala
- Graph
-
- Supertypes
-
trait CoflatMapLaws[F]trait FunctorLaws[F]trait InvariantLaws[F]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait BimonadLaws[F]
Members list
Value members
Concrete methods
extract
is the left identity element under left-to-right composition of cats.data.Cokleisli
arrows.
extract
is the left identity element under left-to-right composition of cats.data.Cokleisli
arrows. This is analogous to comonadLeftIdentity.
Attributes
- Source
- ComonadLaws.scala
extract
is the right identity element under left-to-right composition of cats.data.Cokleisli
arrows.
extract
is the right identity element under left-to-right composition of cats.data.Cokleisli
arrows. This is analogous to comonadRightIdentity.
Attributes
- Source
- ComonadLaws.scala
Attributes
- Source
- ComonadLaws.scala
Attributes
- Source
- ComonadLaws.scala
Attributes
- Source
- ComonadLaws.scala
Attributes
- Source
- ComonadLaws.scala
Attributes
- Source
- ComonadLaws.scala
Inherited methods
Attributes
- Inherited from:
- CoflatMapLaws
- Source
- CoflatMapLaws.scala
Attributes
- Inherited from:
- CoflatMapLaws
- Source
- CoflatMapLaws.scala
Attributes
- Inherited from:
- CoflatMapLaws
- Source
- CoflatMapLaws.scala
Attributes
- Inherited from:
- CoflatMapLaws
- Source
- CoflatMapLaws.scala
The composition of cats.data.Cokleisli
arrows is associative.
The composition of cats.data.Cokleisli
arrows is associative. This is analogous to coflatMapAssociativity.
Attributes
- Inherited from:
- CoflatMapLaws
- Source
- CoflatMapLaws.scala
Attributes
- Inherited from:
- FunctorLaws
- Source
- FunctorLaws.scala
Attributes
- Inherited from:
- FunctorLaws
- Source
- FunctorLaws.scala
Attributes
- Inherited from:
- InvariantLaws
- Source
- InvariantLaws.scala
Attributes
- Inherited from:
- InvariantLaws
- Source
- InvariantLaws.scala
Attributes
- Inherited from:
- FunctorLaws
- Source
- FunctorLaws.scala
Implicits
Implicits
Attributes
- Definition Classes
- Source
- ComonadLaws.scala
In this article