ShowCompound

ostrat.ShowCompound
trait ShowCompound[A] extends Show[A]

Show trait for Compound types contain elements, requiring the Show class or classes for the type or types of the constituent elements.

Attributes

Graph
Supertypes
trait Show[A]
trait Persist
class Object
trait Matchable
class Any
Known subtypes
trait ShowNFixed[A]
trait Show1PlusFixed[A1, A]
trait Show2PlusFixed[A1, A2, A]
trait Show2[A1, A2, A]
class Persist2Both[A1, A2, A]
class Show2Imp[A1, A2, A]
trait ShowDbl2[A]
class PersistDbl2Both[A]
class ShowDbl2Imp[A]
trait ShowInt2[A]
class PersistInt2Both[A]
class ShowInt2Imp[A]
trait Show3Plus[A1, A2, A3, A]
trait Show3[A1, A2, A3, A]
class Persist3Both[A1, A2, A3, A]
class Show3Imp[A1, A2, A3, A]
trait ShowDbl3[A]
class PersistDbl3Both[A]
class ShowDbl3Imp[A]
trait ShowInt3[A]
class ShowInt3Imp[A]
trait Show4Plus[A1, A2, A3, A4, A]
trait Show4[A1, A2, A3, A4, A]
class Show4Imp[A1, A2, A3, A4, A]
class ShowDbl4[A]
trait ShowInt4[A]
class ShowInt4Imp[A]
trait Show5Plus[A1, A2, A3, A4, A5, A]
trait Show5[A1, A2, A3, A4, A5, A]
class Show5Imp[A1, A2, A3, A4, A5, A]
trait ShowInt5[A]
trait Show6Plus[A1, A2, A3, A4, A5, A6, A]
trait Show6[A1, A2, A3, A4, A5, A6, A]
class Show6Imp[A1, A2, A3, A4, A5, A6, A]
trait ShowTellN[A]
trait ShowNRepeat[Ar, A]
trait Show1PlusRepeat[A1, Ar, A]
trait Show1Repeat[A1, Ar, A]
class Show1ArrayRepeat[A1, Ar, A]
trait ShowNOptRepeat[Ar, A]
trait Show1PlusOptRepeat[A1, Ar, A]
class Show1OptRepeat[A1, Ar, A]
trait ShowSeqLike[Ae, A]
trait ShowSeq[A, SA]
trait ShowIterable[A, SA]
class ShowIterableClass[A, R]
trait ShowSequ[A, SA]
class ShowSeqLikeImp[Ae, A]
trait ShowSeqSpec[Ae, A]
class PersistSeqSpecBoth[Ae, A]
Show all

Members list

Value members

Concrete methods

override 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

Definition Classes

Inherited methods

def show(obj: A, style: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Attributes

Inherited from:
Show
def syntaxDepth(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

Inherited from:
Show
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
Show -> Any
Inherited from:
Show

The type of the object to be persisted.

The type of the object to be persisted.

Attributes

Inherited from:
Persist

This property determines if the type can be used with Multiple syntax.

This property determines if the type can be used with Multiple syntax.

MyObj * 7

. for describing sequences succinctly. This is not desirable for some types such as numerical and mathematical vector types as this could be confusing 3 * 4 should resolve to an Int of value 12, not a Multiple(3, 4).

Attributes

Inherited from:
Persist