Show

object Show

Hand rolling the type class boilerplate due to scala/bug#6260 and scala/bug#10458

Companion:
class
class Object
trait Matchable
class Any
Show.type

Type members

Classlikes

trait Ops[A]
final case class ShowInterpolator(_sc: StringContext) extends AnyVal
final case class Shown(toString: String) extends AnyVal
Companion:
object
object Shown
Companion:
class
trait ToShowOps

Value members

Concrete methods

def apply[A](implicit instance: Show[A]): Show[A]

creates an instance of Show using object toString

creates an instance of Show using object toString

def show[A](f: A => String): Show[A]

creates an instance of Show using the provided function

creates an instance of Show using the provided function

Deprecated methods

@deprecated("Use catsStdShowForTuple2 in cats.instances.NTupleShowInstances", "2.4.0")
def catsShowForTuple2[A : Show, B : Show]: Show[(A, B)]
Deprecated

Implicits

Implicits

implicit def catsShowForByte: Show[Byte]
implicit def catsShowForChar: Show[Char]
implicit def catsShowForEither[A : Show, B : Show]: Show[Either[A, B]]
implicit def catsShowForFloat: Show[Float]
implicit def catsShowForInt: Show[Int]
implicit def catsShowForList[A : Show]: Show[List[A]]
implicit def catsShowForLong: Show[Long]
implicit def catsShowForMap[K : Show, V : Show]: Show[Map[K, V]]
implicit def catsShowForOption[A : Show]: Show[Option[A]]
implicit def catsShowForQueue[A : Show]: Show[Queue[A]]
implicit def catsShowForSet[A : Show]: Show[Set[A]]
implicit def catsShowForShort: Show[Short]
implicit def catsShowForSortedMap[K : Show, V : Show]: Show[SortedMap[K, V]]
implicit def catsShowForTry[A : Show]: Show[Try[A]]
implicit def catsShowForUUID: Show[UUID]
implicit def catsShowForUnit: Show[Unit]
implicit def catsShowForVector[A : Show]: Show[Vector[A]]

Inherited implicits

implicit def catsShowForSeq[A : Show]: Show[Seq[A]]
Inherited from:
ShowInstances0
final implicit def catsStdShowForTuple1[A0](implicit A0: Show[A0]): Show[(A0)]
Inherited from:
NTupleShowInstances
final implicit def catsStdShowForTuple10[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9](implicit A0: Show[A0], A1: Show[A1], A2: Show[A2], A3: Show[A3], A4: Show[A4], A5: Show[A5], A6: Show[A6], A7: Show[A7], A8: Show[A8], A9: Show[A9]): Show[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9)]
Inherited from:
NTupleShowInstances
final implicit def catsStdShowForTuple11[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10](implicit A0: Show[A0], A1: Show[A1], A2: Show[A2], A3: Show[A3], A4: Show[A4], A5: Show[A5], A6: Show[A6], A7: Show[A7], A8: Show[A8], A9: Show[A9], A10: Show[A10]): Show[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)]
Inherited from:
NTupleShowInstances
final implicit def catsStdShowForTuple2[A0, A1](implicit A0: Show[A0], A1: Show[A1]): Show[(A0, A1)]
Inherited from:
NTupleShowInstances
final implicit def catsStdShowForTuple3[A0, A1, A2](implicit A0: Show[A0], A1: Show[A1], A2: Show[A2]): Show[(A0, A1, A2)]
Inherited from:
NTupleShowInstances
final implicit def catsStdShowForTuple4[A0, A1, A2, A3](implicit A0: Show[A0], A1: Show[A1], A2: Show[A2], A3: Show[A3]): Show[(A0, A1, A2, A3)]
Inherited from:
NTupleShowInstances
final implicit def catsStdShowForTuple5[A0, A1, A2, A3, A4](implicit A0: Show[A0], A1: Show[A1], A2: Show[A2], A3: Show[A3], A4: Show[A4]): Show[(A0, A1, A2, A3, A4)]
Inherited from:
NTupleShowInstances
final implicit def catsStdShowForTuple6[A0, A1, A2, A3, A4, A5](implicit A0: Show[A0], A1: Show[A1], A2: Show[A2], A3: Show[A3], A4: Show[A4], A5: Show[A5]): Show[(A0, A1, A2, A3, A4, A5)]
Inherited from:
NTupleShowInstances
final implicit def catsStdShowForTuple7[A0, A1, A2, A3, A4, A5, A6](implicit A0: Show[A0], A1: Show[A1], A2: Show[A2], A3: Show[A3], A4: Show[A4], A5: Show[A5], A6: Show[A6]): Show[(A0, A1, A2, A3, A4, A5, A6)]
Inherited from:
NTupleShowInstances
final implicit def catsStdShowForTuple8[A0, A1, A2, A3, A4, A5, A6, A7](implicit A0: Show[A0], A1: Show[A1], A2: Show[A2], A3: Show[A3], A4: Show[A4], A5: Show[A5], A6: Show[A6], A7: Show[A7]): Show[(A0, A1, A2, A3, A4, A5, A6, A7)]
Inherited from:
NTupleShowInstances
final implicit def catsStdShowForTuple9[A0, A1, A2, A3, A4, A5, A6, A7, A8](implicit A0: Show[A0], A1: Show[A1], A2: Show[A2], A3: Show[A3], A4: Show[A4], A5: Show[A5], A6: Show[A6], A7: Show[A7], A8: Show[A8]): Show[(A0, A1, A2, A3, A4, A5, A6, A7, A8)]
Inherited from:
NTupleShowInstances

Deprecated and Inherited implicits

@deprecated("Use catsShowForLazyList", "3.0.0")
implicit def catsShowForStream[A : Show]: Show[Stream[A]]
Deprecated
Inherited from:
ScalaVersionSpecificShowInstances