Trait

cats.data

ProdFunctor

Related Doc: package data

Permalink

sealed trait ProdFunctor[F[_], G[_]] extends Functor[[α]Prod[F, G, α]]

Linear Supertypes
Functor[[α]Prod[F, G, α]], Invariant[[α]Prod[F, G, α]], Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProdFunctor
  2. Functor
  3. Invariant
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def F: Functor[F]

    Permalink
  2. abstract def G: Functor[G]

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def as[A, B](fa: Prod[F, G, A], b: B): Prod[F, G, B]

    Permalink

    Replaces the A value in F[A] with the supplied value.

    Replaces the A value in F[A] with the supplied value.

    Definition Classes
    Functor
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def compose[G[_]](implicit arg0: Functor[G]): Functor[[α]Prod[F, G, G[α]]]

    Permalink
    Definition Classes
    Functor
  8. def compose[G[_]](implicit arg0: Invariant[G]): Invariant[[α]Prod[F, G, G[α]]]

    Permalink
    Definition Classes
    Invariant
  9. def composeContravariant[G[_]](implicit arg0: Contravariant[G]): Contravariant[[α]Prod[F, G, G[α]]]

    Permalink
    Definition Classes
    FunctorInvariant
  10. def composeFilter[G[_]](implicit arg0: FunctorFilter[G]): FunctorFilter[[α]Prod[F, G, G[α]]]

    Permalink
    Definition Classes
    Functor
  11. def composeFunctor[G[_]](implicit arg0: Functor[G]): Invariant[[α]Prod[F, G, G[α]]]

    Permalink
    Definition Classes
    Invariant
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def fproduct[A, B](fa: Prod[F, G, A])(f: (A) ⇒ B): Prod[F, G, (A, B)]

    Permalink

    Tuple the values in fa with the result of applying a function with the value

    Tuple the values in fa with the result of applying a function with the value

    Definition Classes
    Functor
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def imap[A, B](fa: Prod[F, G, A])(f: (A) ⇒ B)(fi: (B) ⇒ A): Prod[F, G, B]

    Permalink
    Definition Classes
    FunctorInvariant
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def lift[A, B](f: (A) ⇒ B): (Prod[F, G, A]) ⇒ Prod[F, G, B]

    Permalink

    Lift a function f to operate on Functors

    Lift a function f to operate on Functors

    Definition Classes
    Functor
  21. def map[A, B](fa: Prod[F, G, A])(f: (A) ⇒ B): Prod[F, G, B]

    Permalink
    Definition Classes
    ProdFunctorFunctor
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. def void[A](fa: Prod[F, G, A]): Prod[F, G, Unit]

    Permalink

    Empty the fa of the values, preserving the structure

    Empty the fa of the values, preserving the structure

    Definition Classes
    Functor
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def widen[A, B >: A](fa: Prod[F, G, A]): Prod[F, G, B]

    Permalink

    Lifts natural subtyping covariance of covariant Functors.

    Lifts natural subtyping covariance of covariant Functors.

    NOTE: In certain (perhaps contrived) situations that rely on universal equality this can result in a ClassCastException, because it is implemented as a type cast. It could be implemented as map(identity), but according to the functor laws, that should be equal to fa, and a type cast is often much more performant. See this example of widen creating a ClassCastException.

    Definition Classes
    Functor

Inherited from Functor[[α]Prod[F, G, α]]

Inherited from Invariant[[α]Prod[F, G, α]]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped