ShowT

ostrat.ShowT
See theShowT companion object
trait ShowT[-T] extends TypeStr

A type class for string, text and visual representation of objects. An alternative to toString. This trait has mor demanding ambitions Mostly you will want to use Persist which not only gives the Show methods to String representation, but the methods to parse Strings back to objects of the type T. However it may often be useful to start with Show type class and upgrade it later to Persist[T]. The capabilities of decimal place precision and explicit typing for numbers are placed defined here and in the corresponding SHow type class although they have n meaning / purpose for many types, as separating them adds enormous complexity for very little gain.

Attributes

Companion:
object
Graph
Supertypes
trait TypeStr
class Object
trait Matchable
class Any
Known subtypes
trait Persist[T]
class PersistSeqLike[A, R]
class PersistIterable[A, R]
class ArrRefPersist[A]
trait DataDblNsPersist[A, M]
class DataDbl5sPersist[A, ArrA]
class Dbl2SeqDefPersist[A, M]
class Dbl3SeqDefPersist[A, M]
class Dbl4SeqLikePersist[A, ArrA]
trait IntNSeqLikePersist[A, M]
class Int4SeqLikePersist[B, ArrB]
class PersistArrInt2s[A, M]
object PersistImplicit.type
object PersistImplicit.type
object PersistImplicit.type
object PersistImplicit.type
trait LongNSeqDefPersist[B, ArrB]
trait PersistN[R]
trait Persist2[A1, A2, R]
class Persist2Imp[A1, A2, R]
trait PersistShow2[A1, A2, R]
class PersistShow2Imp[A1, A2, R]
trait Persist3[A1, A2, A3, R]
class Persist3Imp[A1, A2, A3, R]
trait PersistShow3[A1, A2, A3, R]
class PersistShow3Imp[A1, A2, A3, R]
trait PersistShowN[R]
class PersistSimple[A]
object PolityPersist.type
object PolityPersist.type
class PersistSum2[ST, A1, A2]
trait ShowCompoundT[R]
trait ShowNT[R]
trait Show2T[A1, A2, R]
class Show2TImp[A1, A2, R]
trait ShowShow2T[A1, A2, R]
class ShowShow2TImp[A1, A2, R]
trait ShowShowDbl2T[R]
trait ShowShowInt2T[R]
trait Show3T[A1, A2, A3, R]
class Show3TImp[A1, A2, A3, R]
trait ShowShow3T[A1, A2, A3, R]
trait ShowShowDbl3T[R]
trait Show4T[A1, A2, A3, A4, R]
class Show4TImp[A1, A2, A3, A4, R]
trait Show5T[A1, A2, A3, A4, A5, R]
class Show5TImp[A1, A2, A3, A4, A5, R]
trait Show6T[A1, A2, A3, A4, A5, A6, R]
class Show6TImp[A1, A2, A3, A4, A5, A6, R]
trait ShowShowNT[R]
trait ShowTSeqLike[A, R]
class ArrShowT[A, R]
class SeqSpecShowT[A, R]
trait ShowIterable[A, R]
class ShowIterableClass[A, R]
trait ShowShowT[R]
trait ShowSimpleT[A]
class ShowSum2[ST, A1, A2]

Members list

Concise view

Value members

Abstract methods

def showDecT(obj: T, style: ShowStyle, maxPlaces: Int, minPlaces: Int): String
Implicitly added by ShowIterableImplicit
def showDecT(obj: T, style: ShowStyle, maxPlaces: Int, minPlaces: Int): String
Implicitly added by ShowSeqImplicit
def showDecT(obj: T, style: ShowStyle, maxPlaces: Int, minPlaces: Int): String
Implicitly added by arraySeqImplicit
def showDecT(obj: T, style: ShowStyle, maxPlaces: Int, minPlaces: Int): String
Implicitly added by listImplicit
def showDecT(obj: T, style: ShowStyle, maxPlaces: Int, minPlaces: Int): String
Implicitly added by vectorImplicit
def showDecT(obj: T, style: ShowStyle, maxPlaces: Int, minPlaces: Int): String
def strT(obj: T): String
Implicitly added by ShowIterableImplicit

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

def strT(obj: T): String
Implicitly added by ShowSeqImplicit

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

def strT(obj: T): String
Implicitly added by arraySeqImplicit

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

def strT(obj: T): String
Implicitly added by listImplicit

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

def strT(obj: T): String
Implicitly added by vectorImplicit

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

def strT(obj: T): 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

def syntaxDepthT(obj: T): Int
Implicitly added by ShowIterableImplicit

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

def syntaxDepthT(obj: T): Int
Implicitly added by ShowSeqImplicit

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

def syntaxDepthT(obj: T): Int
Implicitly added by arraySeqImplicit

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

def syntaxDepthT(obj: T): Int
Implicitly added by listImplicit

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

def syntaxDepthT(obj: T): Int
Implicitly added by vectorImplicit

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

def syntaxDepthT(obj: T): 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

Concrete methods

def showT(obj: T, style: ShowStyle): String
Implicitly added by ShowIterableImplicit
def showT(obj: T, style: ShowStyle): String
Implicitly added by ShowSeqImplicit
def showT(obj: T, style: ShowStyle): String
Implicitly added by arraySeqImplicit
def showT(obj: T, style: ShowStyle): String
Implicitly added by listImplicit
def showT(obj: T, style: ShowStyle): String
Implicitly added by vectorImplicit
def showT(obj: T, style: ShowStyle): String

Inherited methods

Implicitly added by ShowIterableImplicit

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
Implicitly added by ShowSeqImplicit

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
Implicitly added by arraySeqImplicit

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
Implicitly added by listImplicit

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
Implicitly added by vectorImplicit

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

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