Show

scalus.prelude.Show
See theShow companion object
@FunctionalInterface
trait Show[A] extends A => String, CompileDerivations
  • A typeclass for converting values of type A to a String.

This is used to provide a string representation of values, which can be useful for debugging, logging, or displaying information about the value.

Type parameters

A

the type of the value to be shown

Attributes

Companion
object
Graph
Supertypes
trait A => String
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

override def apply(v: A): String

Attributes

Definition Classes
Function1

Inherited methods

def andThen[A](g: String => A): A => A

Attributes

Inherited from:
Function1
def compose[A](g: A => A): A => String

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1