ShowSum2

abstract class ShowSum2[ST <: AnyRef, A1 <: ST, A2 <: ST]()(implicit val ct1: ClassTag[A1], val ct2: ClassTag[A2]) extends ShowDecT[ST]

Show class for algebraic sum types. If you are using your own code then Show sum types handled by inheritance.

Companion:
object
trait ShowDecT[ST]
trait ShowT[ST]
trait TypeStr
class Object
trait Matchable
class Any
class PersistSum2[ST, A1, A2]

Value members

Abstract methods

def ev1: ShowDecT[A1]
def ev2: ShowDecT[A2]

Concrete methods

override def showDecT(obj: ST, way: ShowStyle, maxPlaces: Int, minPlaces: Int): String
Definition Classes
override def strT(obj: ST): String
Definition Classes
override def syntaxDepthT(obj: ST): Int
Definition Classes

Inherited methods

override def showT(obj: ST, style: ShowStyle): String
Definition Classes
Inherited from:
ShowDecT
def typeStr: String

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.

Inherited from:
TypeStr

Implicits

Implicits

implicit val ct1: ClassTag[A1]
implicit val ct2: ClassTag[A2]