Persist2

class Persist2[A1, A2, R](val typeStr: String, val name1: String, val fArg1: R => A1, val name2: String, val fArg2: R => A2, val newT: (A1, A2) => R, val opt2: Option[A2], opt1In: Option[A1])(implicit ev1In: Persist[A1], ev2In: Persist[A2]) extends Show2T[A1, A2, R] with PersistShowProductT[R]

Persistence class for product 2 type class. It ShowTs and UnShows objects with 2 logical parameters.

Companion
object
trait Persist[R]
trait UnShow[R]
trait Show2T[A1, A2, R]
trait Persist2Base[A1, A2, R]
trait ShowProductT[R]
trait ShowCompoundT[R]
trait ShowT[R]
class Object
trait Matchable
class Any

Value members

Inherited methods

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

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

Inherited from
UnShow
def findUniqueTFromStatements[ArrT <: ArrImut[R]](sts: Statements)(implicit arrBuild: ArrTBuilder[R, ArrT]): EMon[R]

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.

Inherited from
UnShow
def fromClauses1[A1, B](f: A1 => B, clauses: Arr[Clause])(implicit ev1: Persist[A1]): EMon[B]
Inherited from
UnShow
override def fromExpr(expr: ParseExpr): EMon[R]
Definition Classes
Inherited from
PersistProduct
final def fromStatement(st: Statement): EMon[R]

Trys to build an object of type T from the statement. Not sure if this is useful.

Trys to build an object of type T from the statement. Not sure if this is useful.

Inherited from
UnShow
def settingTFromStatement(settingStr: String, st: Statement): EMon[R]

Finds a setting of the type of this UnShow instance from a [Statement].

Finds a setting of the type of this UnShow instance from a [Statement].

Inherited from
UnShow
def settingTFromStatements(sts: Arr[Statement], settingStr: String): EMon[R]

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

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

Inherited from
UnShow
override def showT(obj: R, way: Way, maxPlaces: Int, minPlaces: Int): String
Definition Classes
Inherited from
ShowProductT
final override def strT(obj: R): String
Definition Classes
Inherited from
ShowCompoundT
override def strs(obj: R, way: Way, decimalPlaces: Int): Strings
Definition Classes
Inherited from
Show2T
final override def syntaxDepthT(obj: R): Int
Definition Classes
Inherited from
Show2T

Produces a List of the UnShow type from List of Statements

Produces a List of the UnShow type from List of Statements

Inherited from
UnShow
def valuesFromStatements[ArrT <: ArrImut[R]](sts: Statements)(implicit arrBuild: ArrTBuilder[R, ArrT]): ArrT

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

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

Inherited from
UnShow

Concrete fields

val fArg1: R => A1
val fArg2: R => A2
val name1: String
val name2: String
val newT: (A1, A2) => R
val opt1: Option[A1]
val opt2: Option[A2]
val typeStr: String

Implicits

Implicits

implicit override def ev1: ShowT[A1]
Definition Classes
implicit override def ev2: ShowT[A2]
Definition Classes