Packages

object Representable extends Serializable

Source
Representable.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Representable
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Aux[F[_], R] = Representable[F] { type Representation = R }

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[F[_]](implicit ev: Representable[F]): Aux[F, Representation]

    Summon the Representable instance for F

    Summon the Representable instance for F

    Example:

    scala> import cats.implicits._
    
    scala> type Pair[A] = (A, A)
    
    scala> Representable[Pair].index(("foo", "bar"))(false)
    res0: String = bar
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bimonad[F[_], R](implicit Rep: Aux[F, R], Mon: Monoid[R]): Bimonad[F]

    Derives a Bimonad instance for any Representable functor whose representation has a Monoid instance.

  7. implicit def catsRepresentableForFunction1[E](implicit EF: Functor[[β$0$](E) ⇒ β$0$]): Aux[[β$1$](E) ⇒ β$1$, E]
  8. implicit def catsRepresentableForPair(implicit PF: Functor[[P](P, P)]): Aux[[P](P, P), Boolean]
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  10. def distributive[F[_]](implicit Rep: Representable[F]): Distributive[F]

    Derives a Distributive instance for any Representable functor

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def monad[F[_]](implicit Rep: Representable[F]): Monad[F]

    Derives a Monad instance for any Representable functor

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped