← ZIO Prelude docs

Debug

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

Attributes

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

Members list

Type members

Classlikes

object Renderer

Attributes

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

Attributes

Companion
trait
Source
Debug.scala
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
Source
Debug.scala
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

Source
Debug.scala

Value members

Concrete methods

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

Summons an implicit Debug[A].

Summons an implicit Debug[A].

Attributes

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala

Givens

Inherited givens

given given_Debug_IArray[A](using x$1: Debug[A]): given_Debug_IArray[A]

Attributes

Inherited from:
DebugVersionSpecific
Source
DebugVersionSpecific.scala

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

Source
Debug.scala

The Debug instance for BigDecimal.

The Debug instance for BigDecimal.

Attributes

Source
Debug.scala
implicit val BigIntDebug: Debug[BigInt]

The Debug instance for BigInt.

The Debug instance for BigInt.

Attributes

Source
Debug.scala
implicit val BooleanDebug: Debug[Boolean]

The Debug instance for Boolean.

The Debug instance for Boolean.

Attributes

Source
Debug.scala
implicit val ByteDebug: Debug[Byte]

The Debug instance for Byte.

The Debug instance for Byte.

Attributes

Source
Debug.scala
implicit val CharDebug: Debug[Char]

The Debug instance for Char.

The Debug instance for Char.

Attributes

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
implicit val DoubleDebug: Debug[Double]

The Debug instance for Double.

The Debug instance for Double.

Attributes

Source
Debug.scala

The Debug instance for scala.concurrent.Duration.

The Debug instance for scala.concurrent.Duration.

Attributes

Source
Debug.scala

The Debug instance for zio.duration.Duration.

The Debug instance for zio.duration.Duration.

Attributes

Source
Debug.scala
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

Source
Debug.scala
implicit val FloatDebug: Debug[Float]

The Debug instance for Float.

The Debug instance for Float.

Attributes

Source
Debug.scala
implicit val IntDebug: Debug[Int]

The Debug instance for Int.

The Debug instance for Int.

Attributes

Source
Debug.scala
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

Source
Debug.scala
implicit val LongDebug: Debug[Long]

The Debug instance for Long.

The Debug instance for Long.

Attributes

Source
Debug.scala
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

Source
Debug.scala
implicit val MathContextDebug: Debug[MathContext]

The Debug instance for java.math.MathContext.

The Debug instance for java.math.MathContext.

Attributes

Source
Debug.scala
implicit def NonEmptyChunkDebug[A : Debug]: Debug[NonEmptyChunk[A]]

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

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

Attributes

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
implicit val RoundingModeDebug: Debug[RoundingMode]

The Debug instance for java.math.RoundingMode.

The Debug instance for java.math.RoundingMode.

Attributes

Source
Debug.scala
implicit val ShortDebug: Debug[Short]

The Debug instance for Short.

The Debug instance for Short.

Attributes

Source
Debug.scala
implicit val StringDebug: Debug[String]

The Debug instance for String.

The Debug instance for String.

Attributes

Source
Debug.scala
implicit val TimeUnitDebug: Debug[TimeUnit]

The Debug instance for TimeUnit.

The Debug instance for TimeUnit.

Attributes

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
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

Source
Debug.scala
implicit val UnitDebug: Debug[Unit]

The Debug instance for Unit.

The Debug instance for Unit.

Attributes

Source
Debug.scala
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

Source
Debug.scala