Debug

zio.prelude.Debug
See theDebug companion trait
object Debug extends DebugVersionSpecific

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Debug.type

Members list

Type members

Classlikes

object Renderer

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Renderer.type
object Repr

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Repr.type
sealed trait Repr

A Repr is a structured representation of a value of that can be rendered into various human readable formats.

A Repr is a structured representation of a value of that can be rendered into various human readable formats.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Boolean
class Byte
class Char
class Constructor
class Double
class Float
class Int
class KeyValue
class Long
class Object
class Short
class String
class VConstructor
Show all
Self type

Types

type Renderer = Repr => String

A Renderer knows how to convert a Repr to a human readable format.

A Renderer knows how to convert a Repr to a human readable format.

Attributes

Value members

Concrete methods

def apply[A](implicit debug: Debug[A]): Debug[A]

Summons an implicit Debug[A].

Summons an implicit Debug[A].

Attributes

def keyValueDebug[A : Debug, B : Debug]: Debug[(A, B)]

Constructs a Debug instance for a pair of a key and a value given Debug instances for the key and value types.

Constructs a Debug instance for a pair of a key and a value given Debug instances for the key and value types.

Attributes

def make[A](f: A => Repr): Debug[A]

Constructs a Debug[A] from a function that converts a value of type A to a Repr.

Constructs a Debug[A] from a function that converts a value of type A to a Repr.

Attributes

Givens

Inherited givens

Attributes

Inherited from:
DebugVersionSpecific

Implicits

Implicits

implicit def ArrayDebug[A : Debug]: Debug[Array[A]]

Derives a Debug[Array[A]] given a Debug[A].

Derives a Debug[Array[A]] given a Debug[A].

Attributes

The Debug instance for BigDecimal.

The Debug instance for BigDecimal.

Attributes

implicit val BigIntDebug: Debug[BigInt]

The Debug instance for BigInt.

The Debug instance for BigInt.

Attributes

implicit val BooleanDebug: Debug[Boolean]

The Debug instance for Boolean.

The Debug instance for Boolean.

Attributes

implicit val ByteDebug: Debug[Byte]

The Debug instance for Byte.

The Debug instance for Byte.

Attributes

implicit val CharDebug: Debug[Char]

The Debug instance for Char.

The Debug instance for Char.

Attributes

implicit def ChunkDebug[A : Debug]: Debug[Chunk[A]]

Derives a Debug[Chunk[A]] given a Debug[A].

Derives a Debug[Chunk[A]] given a Debug[A].

Attributes

implicit def DeriveDebug[F[_], A](implicit derive: Derive[F, Debug], debug: Debug[A]): Debug[F[A]]

Derives a Debug[F[A]] given a Derive[F, Debug] and a Debug[A].

Derives a Debug[F[A]] given a Derive[F, Debug] and a Debug[A].

Attributes

implicit val DoubleDebug: Debug[Double]

The Debug instance for Double.

The Debug instance for Double.

Attributes

The Debug instance for scala.concurrent.Duration.

The Debug instance for scala.concurrent.Duration.

Attributes

The Debug instance for zio.duration.Duration.

The Debug instance for zio.duration.Duration.

Attributes

implicit def EitherDebug[E : Debug, A : Debug]: Debug[Either[E, A]]

Derives a Debug[Either[E, A]] given a Debug[E] and a Debug[A].

Derives a Debug[Either[E, A]] given a Debug[E] and a Debug[A].

Attributes

implicit val FloatDebug: Debug[Float]

The Debug instance for Float.

The Debug instance for Float.

Attributes

implicit val IntDebug: Debug[Int]

The Debug instance for Int.

The Debug instance for Int.

Attributes

implicit def ListDebug[A : Debug]: Debug[List[A]]

Derives a Debug[List[A]] given a Debug[A].

Derives a Debug[List[A]] given a Debug[A].

Attributes

implicit val LongDebug: Debug[Long]

The Debug instance for Long.

The Debug instance for Long.

Attributes

implicit def MapDebug[K : Debug, V : Debug]: Debug[Map[K, V]]

Derives a Debug[Map[K, V]] given a Debug[K] and a Debug[V].

Derives a Debug[Map[K, V]] given a Debug[K] and a Debug[V].

Attributes

implicit val MathContextDebug: Debug[MathContext]

The Debug instance for java.math.MathContext.

The Debug instance for java.math.MathContext.

Attributes

Derives a Debug[NonEmptyChunk[A]] given a Debug[A].

Derives a Debug[NonEmptyChunk[A]] given a Debug[A].

Attributes

implicit val NothingDebug: Debug[Nothing]

The Debuginstance for Nothing. Note that since there are no values of type Nothing this Debug instance can never be called.

The Debuginstance for Nothing. Note that since there are no values of type Nothing this Debug instance can never be called.

Attributes

implicit def OptionDebug[A : Debug]: Debug[Option[A]]

Derives a Debug[Option[A]] given a Debug[A].

Derives a Debug[Option[A]] given a Debug[A].

Attributes

implicit val RoundingModeDebug: Debug[RoundingMode]

The Debug instance for java.math.RoundingMode.

The Debug instance for java.math.RoundingMode.

Attributes

implicit val ShortDebug: Debug[Short]

The Debug instance for Short.

The Debug instance for Short.

Attributes

implicit val StringDebug: Debug[String]

The Debug instance for String.

The Debug instance for String.

Attributes

implicit val TimeUnitDebug: Debug[TimeUnit]

The Debug instance for TimeUnit.

The Debug instance for TimeUnit.

Attributes

implicit def Tuple10Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug, F : Debug, G : Debug, H : Debug, I : Debug, J : Debug]: Debug[(A, B, C, D, E, F, G, H, I, J)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple11Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug, F : Debug, G : Debug, H : Debug, I : Debug, J : Debug, K : Debug]: Debug[(A, B, C, D, E, F, G, H, I, J, K)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple12Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug, F : Debug, G : Debug, H : Debug, I : Debug, J : Debug, K : Debug, L : Debug]: Debug[(A, B, C, D, E, F, G, H, I, J, K, L)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple13Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug, F : Debug, G : Debug, H : Debug, I : Debug, J : Debug, K : Debug, L : Debug, M : Debug]: Debug[(A, B, C, D, E, F, G, H, I, J, K, L, M)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple14Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug, F : Debug, G : Debug, H : Debug, I : Debug, J : Debug, K : Debug, L : Debug, M : Debug, N : Debug]: Debug[(A, B, C, D, E, F, G, H, I, J, K, L, M, N)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple15Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug, F : Debug, G : Debug, H : Debug, I : Debug, J : Debug, K : Debug, L : Debug, M : Debug, N : Debug, O : Debug]: Debug[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple16Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug, F : Debug, G : Debug, H : Debug, I : Debug, J : Debug, K : Debug, L : Debug, M : Debug, N : Debug, O : Debug, P : Debug]: Debug[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple17Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug, F : Debug, G : Debug, H : Debug, I : Debug, J : Debug, K : Debug, L : Debug, M : Debug, N : Debug, O : Debug, P : Debug, Q : Debug]: Debug[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple18Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug, F : Debug, G : Debug, H : Debug, I : Debug, J : Debug, K : Debug, L : Debug, M : Debug, N : Debug, O : Debug, P : Debug, Q : Debug, R : Debug]: Debug[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple19Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug, F : Debug, G : Debug, H : Debug, I : Debug, J : Debug, K : Debug, L : Debug, M : Debug, N : Debug, O : Debug, P : Debug, Q : Debug, R : Debug, S : Debug]: Debug[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple20Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug, F : Debug, G : Debug, H : Debug, I : Debug, J : Debug, K : Debug, L : Debug, M : Debug, N : Debug, O : Debug, P : Debug, Q : Debug, R : Debug, S : Debug, T : Debug]: Debug[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple21Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug, F : Debug, G : Debug, H : Debug, I : Debug, J : Debug, K : Debug, L : Debug, M : Debug, N : Debug, O : Debug, P : Debug, Q : Debug, R : Debug, S : Debug, T : Debug, U : Debug]: Debug[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple22Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug, F : Debug, G : Debug, H : Debug, I : Debug, J : Debug, K : Debug, L : Debug, M : Debug, N : Debug, O : Debug, P : Debug, Q : Debug, R : Debug, S : Debug, T : Debug, U : Debug, V : Debug]: Debug[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple2Debug[A : Debug, B : Debug]: Debug[(A, B)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple3Debug[A : Debug, B : Debug, C : Debug]: Debug[(A, B, C)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple4Debug[A : Debug, B : Debug, C : Debug, D : Debug]: Debug[(A, B, C, D)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple5Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug]: Debug[(A, B, C, D, E)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple6Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug, F : Debug]: Debug[(A, B, C, D, E, F)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple7Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug, F : Debug, G : Debug]: Debug[(A, B, C, D, E, F, G)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple8Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug, F : Debug, G : Debug, H : Debug]: Debug[(A, B, C, D, E, F, G, H)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit def Tuple9Debug[A : Debug, B : Debug, C : Debug, D : Debug, E : Debug, F : Debug, G : Debug, H : Debug, I : Debug]: Debug[(A, B, C, D, E, F, G, H, I)]

Derives an Debug for a product type given an Debug for each element of the product type.

Derives an Debug for a product type given an Debug for each element of the product type.

Attributes

implicit val UnitDebug: Debug[Unit]

The Debug instance for Unit.

The Debug instance for Unit.

Attributes

implicit def VectorDebug[A : Debug]: Debug[Vector[A]]

Derives a Debug[Vector[A]] given a Debug[A].

Derives a Debug[Vector[A]] given a Debug[A].

Attributes