trait ScalaRep[+U <: Term with Subs[U], V] extends AnyRef
Representation by a scala object of a HoTT term
It is assumed that there is a single HoTT type corresponding to the given scala type, when the scala rep is in scope. If one needs several HoTT types, eg. vectors of different lengths, one uses ScalaPolyRep.
ScalaRep objects are recursively constructed from
- U
the HoTT type represented
- V
scala type representing the given object.
- Alphabetic
- By Inheritance
- ScalaRep
- AnyRef
- Any
- by ScalaTerm
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Type Members
- type tpe = V
scala type of representing object.
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ++[UU >: U <: Term with Subs[UU], X <: Term with Subs[X], Y](codrepfmly: (V) => ScalaRep[X, Y]): SigmaRep[UU, V, X, Y]
scalarep for sum type.
- def -->:[W <: Term with Subs[W], X, UU >: U <: Term with Subs[UU]](that: ScalaRep[W, X]): FuncRep[W, X, UU, V]
scalarep for function
- def ->[B](y: B): (ScalaRep[U, V], B)
- def :-->[W <: Term with Subs[W], UU >: U <: Term with Subs[UU]](that: Typ[W]): FuncRep[UU, V, W, W]
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def ensuring(cond: (ScalaRep[U, V]) => Boolean, msg: => Any): ScalaRep[U, V]
- def ensuring(cond: (ScalaRep[U, V]) => Boolean): ScalaRep[U, V]
- def ensuring(cond: Boolean, msg: => Any): ScalaRep[U, V]
- def ensuring(cond: Boolean): ScalaRep[U, V]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def term: U
- Implicit
- This member is added by an implicit conversion from ScalaRep[U, V] toScalaTerm[U, ScalaRep[U, V]] performed by method ScalaTerm in provingground.scalahott.ScalaRep.This conversion will take place only if an implicit value of type ScalaRep[U, ScalaRep[U, V]] is in scope.
- Definition Classes
- ScalaTerm
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def →[B](y: B): (ScalaRep[U, V], B)
- Implicit
- This member is added by an implicit conversion from ScalaRep[U, V] toArrowAssoc[ScalaRep[U, V]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
Inherited from AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
Inherited from Any
Inherited by implicit conversion ScalaTerm fromScalaRep[U, V] to ScalaTerm[U, ScalaRep[U, V]]
Value Members
- def term: U
- Implicit
- This member is added by an implicit conversion from ScalaRep[U, V] toScalaTerm[U, ScalaRep[U, V]] performed by method ScalaTerm in provingground.scalahott.ScalaRep.This conversion will take place only if an implicit value of type ScalaRep[U, ScalaRep[U, V]] is in scope.
- Definition Classes
- ScalaTerm
Inherited by implicit conversion Ensuring fromScalaRep[U, V] to Ensuring[ScalaRep[U, V]]
Value Members
Inherited by implicit conversion ArrowAssoc fromScalaRep[U, V] to ArrowAssoc[ScalaRep[U, V]]
Value Members
- def ->[B](y: B): (ScalaRep[U, V], B)
- def →[B](y: B): (ScalaRep[U, V], B)
- Implicit
- This member is added by an implicit conversion from ScalaRep[U, V] toArrowAssoc[ScalaRep[U, V]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
Ungrouped
- type tpe = V
scala type of representing object.
- abstract def apply(v: V): U
HoTT object from the scala one.
- abstract def subs(x: Term, y: Term): ScalaRep[U, V]
- abstract val typ: Typ[U]
HoTT type represented.
- abstract def unapply(u: Term): Option[V]
pattern for matching application of the scala object.
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ++[UU >: U <: Term with Subs[UU], X <: Term with Subs[X], Y](codrepfmly: (V) => ScalaRep[X, Y]): SigmaRep[UU, V, X, Y]
scalarep for sum type.
- def -->:[W <: Term with Subs[W], X, UU >: U <: Term with Subs[UU]](that: ScalaRep[W, X]): FuncRep[W, X, UU, V]
scalarep for function
- def ->[B](y: B): (ScalaRep[U, V], B)
- def :-->[W <: Term with Subs[W], UU >: U <: Term with Subs[UU]](that: Typ[W]): FuncRep[UU, V, W, W]
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def ensuring(cond: (ScalaRep[U, V]) => Boolean, msg: => Any): ScalaRep[U, V]
- def ensuring(cond: (ScalaRep[U, V]) => Boolean): ScalaRep[U, V]
- def ensuring(cond: Boolean, msg: => Any): ScalaRep[U, V]
- def ensuring(cond: Boolean): ScalaRep[U, V]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def term: U
- Implicit
- This member is added by an implicit conversion from ScalaRep[U, V] toScalaTerm[U, ScalaRep[U, V]] performed by method ScalaTerm in provingground.scalahott.ScalaRep.This conversion will take place only if an implicit value of type ScalaRep[U, ScalaRep[U, V]] is in scope.
- Definition Classes
- ScalaTerm
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def →[B](y: B): (ScalaRep[U, V], B)
- Implicit
- This member is added by an implicit conversion from ScalaRep[U, V] toArrowAssoc[ScalaRep[U, V]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.