ShowSimpleT

ostrat.ShowSimpleT
trait ShowSimpleT[-A] extends ShowT[A]

Shows a simple object like a Singleton object or a Double. For your own objects that you control it is better to use Show and its helper sub rather than the sub traits of ShowT to implement your Show functionality.S

Attributes

Graph
Supertypes
trait ShowT[A]
trait TypeStr
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Concrete methods

override def showDecT(obj: A, way: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Attributes

Definition Classes
final override def syntaxDepthT(obj: A): Int

Simple values such as Int, String, Double have a syntax depth of one. A Tuple3[String, Int, Double] has a depth of 2. Not clear whether this should always be determined at compile time or if sometimes it should be determined at runtime.

Simple values such as Int, String, Double have a syntax depth of one. A Tuple3[String, Int, Double] has a depth of 2. Not clear whether this should always be determined at compile time or if sometimes it should be determined at runtime.

Attributes

Definition Classes

Inherited methods

def showT(obj: A, style: ShowStyle): String

Attributes

Inherited from:
ShowT
def strT(obj: A): String

Provides the standard string representation for the object. Its called ShowT to indicate this is a type class method that acts upon an object rather than a method on the object being shown.

Provides the standard string representation for the object. Its called ShowT to indicate this is a type class method that acts upon an object rather than a method on the object being shown.

Attributes

Inherited from:
ShowT

The RSON type of T. This the only data that a ShowT instance requires, that can't be implemented through delegation to an object of type Show.

The RSON type of T. This the only data that a ShowT instance requires, that can't be implemented through delegation to an object of type Show.

Attributes

Inherited from:
TypeStr