PersistSeqSpecBoth

ostrat.PersistSeqSpecBoth
See thePersistSeqSpecBoth companion object
class PersistSeqSpecBoth[Ae, A <: SeqSpec[Ae]](val typeStr: String, val showAeEv: Show[Ae], val unshowAeEv: Unshow[Ae])(implicit val build: BuilderCollMap[Ae, A]) extends PersistBoth[A], ShowSeqSpec[Ae, A], UnshowSeqLike[Ae, A]

Both Show and Unshow type class instances / evidence for SeqSpec objects.

Attributes

Companion
object
Graph
Supertypes
trait UnshowSeqLike[Ae, A]
trait ShowSeqSpec[Ae, A]
trait ShowSeqLike[Ae, A]
trait ShowCompound[A]
trait PersistBoth[A]
trait Unshow[A]
trait Show[A]
trait Persist
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def concat[TT >: A](operand: Unshow[TT], newTypeStr: String): Unshow[TT]

Attributes

Inherited from:
Unshow
def findUniqueTFromStatements[ArrT <: Arr[A]](sts: RArr[Statement])(implicit arrBuild: BuilderArrMap[A, ArrT]): EMon[A]

Finds value of this UnShow type, returns error if more than one match.

Finds value of this UnShow type, returns error if more than one match.

Attributes

Inherited from:
Unshow
def fromAnySettingOrExpr(expr: Expr): EMon[A]

Attributes

Inherited from:
Unshow
override def fromExpr(expr: Expr): EMon[A]

Tries to return a value of the type from an RSON expression Expr that has been parsed from a String or text file. This method must be implemented by all instances.

Tries to return a value of the type from an RSON expression Expr that has been parsed from a String or text file. This method must be implemented by all instances.

Attributes

Definition Classes
Inherited from:
UnshowSeqLike
def fromSettingOrExpr(SettingStr: String, expr: Expr): EMon[A]

Attributes

Inherited from:
Unshow
final def fromStatement(st: Statement): EMon[A]

Trys to build an object of type T from the statement.

Trys to build an object of type T from the statement.

Attributes

Inherited from:
Unshow
def keySettingFromStatement[KT](settingCode: KT, st: Statement)(implicit evST: Unshow[KT]): EMon[A]

Finds a setting with a key / code of type KT and a value of the type of this UnShow instance from a [Statement].

Finds a setting with a key / code of type KT and a value of the type of this UnShow instance from a [Statement].

Attributes

Inherited from:
Unshow
def keySettingFromStatements[KT](sts: RArr[Statement], settingCode: KT)(implicit evST: Unshow[KT]): EMon[A]

Finds a key setting with Key type KT of the type of this UnShow instance from an Arr[Statement].

Finds a key setting with Key type KT of the type of this UnShow instance from an Arr[Statement].

Attributes

Inherited from:
Unshow
def settingFromStatements(sts: RArr[Statement], settingStr: String): EMon[A]

Finds an identifier setting with a value type of this UnShow instance from an Arr[Statement].

Finds an identifier setting with a value type of this UnShow instance from an Arr[Statement].

Attributes

Inherited from:
Unshow
def settingTFromStatement(settingStr: String, st: Statement): EMon[A]

Finds an identifier setting with a value of the type of this UnShow instance from a [Statement].

Finds an identifier setting with a value of the type of this UnShow instance from a [Statement].

Attributes

Inherited from:
Unshow
final override def show(obj: A, way: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Attributes

Definition Classes
Inherited from:
ShowSeqLike
override def showForeach(obj: A, f: Ae => Unit): Unit

Foreach's all the elements of the sequence like object that is being shown.

Foreach's all the elements of the sequence like object that is being shown.

Attributes

Definition Classes
Inherited from:
ShowSeqSpec
final def showMap(obj: A)(f: Ae => String): StrArr

Maps over all the elements of the sequence like object that is being shown.

Maps over all the elements of the sequence like object that is being shown.

Attributes

Inherited from:
ShowSeqLike
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 from:
ShowCompound
override 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

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

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
def valuesFromStatements[ArrT <: Arr[A]](sts: RArr[Statement])(implicit arrBuild: BuilderArrMap[A, ArrT]): ArrT

Produces an ArrImut of the UnShow type from Statements (Refs[Statement].

Produces an ArrImut of the UnShow type from Statements (Refs[Statement].

Attributes

Inherited from:
Unshow

Concrete fields

val showAeEv: Show[Ae]

The type of the object to be persisted.

The type of the object to be persisted.

Attributes

val unshowAeEv: Unshow[Ae]

Unshow type class instance for the elements of the seqLike.

Unshow type class instance for the elements of the seqLike.

Attributes

Implicits

Implicits

implicit val build: BuilderCollMap[Ae, A]