LowPriorityPrettyInstances

scalus.utils.LowPriorityPrettyInstances

Low-priority Pretty instances for automatic ADT derivation. These are lower priority than manually defined instances.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Pretty

Members list

Value members

Concrete methods

inline def derivePrettyProduct[A](using p: ProductOf[A]): Pretty[A]

Create a Pretty instance for a product type

Create a Pretty instance for a product type

Attributes

inline def derivePrettySum[A](using s: SumOf[A]): Pretty[A]

Create a Pretty instance for a sum type

Create a Pretty instance for a sum type

Attributes

inline def getElemLabels[Labels <: Tuple]: List[String]

Extract element labels from the MirroredElemLabels tuple type

Extract element labels from the MirroredElemLabels tuple type

Attributes

inline def summonPrettyInstances[Types <: Tuple]: List[Pretty[Any]]

Summon Pretty instances for all element types in a tuple

Summon Pretty instances for all element types in a tuple

Attributes

Givens

Givens

inline given derived[A](using m: Of[A]): Pretty[A]

Main derivation entry point - lower priority than explicit instances

Main derivation entry point - lower priority than explicit instances

Attributes