cats.Representable$
See theRepresentable companion trait
object Representable
Attributes
- Companion
- trait
- Source
- Representable.scala
- Graph
-
- Supertypes
- Self type
-
Representable.type
Members list
Type members
Types
Attributes
- Source
- Representable.scala
Value members
Concrete methods
Summon the Representable
instance for F
Summon the Representable
instance for F
Example:
scala> import cats.syntax.all._
scala> type Pair[A] = (A, A)
scala> Representable[Pair].index(("foo", "bar"))(false)
res0: String = bar
Attributes
- Source
- Representable.scala
Derives a Bimonad
instance for any Representable
functor whose representation has a Monoid
instance.
Derives a Bimonad
instance for any Representable
functor whose representation has a Monoid
instance.
Attributes
- Source
- Representable.scala
Derives a Distributive
instance for any Representable
functor
Derives a Monad
instance for any Representable
functor
Implicits
In this article