Packages

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.

Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaRep
  2. AnyRef
  3. Any
Implicitly
  1. by ScalaTerm
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type tpe = V

    scala type of representing object.

Abstract Value Members

  1. abstract def apply(v: V): U

    HoTT object from the scala one.

  2. abstract def subs(x: Term, y: Term): ScalaRep[U, V]
  3. abstract val typ: Typ[U]

    HoTT type represented.

  4. abstract def unapply(u: Term): Option[V]

    pattern for matching application of the scala object.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ScalaRep[U, V] toany2stringadd[ScalaRep[U, V]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. 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.

  5. 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

  6. 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
    @inline()
  7. def :-->[W <: Term with Subs[W], UU >: U <: Term with Subs[UU]](that: Typ[W]): FuncRep[UU, V, W, W]
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. def ensuring(cond: (ScalaRep[U, V]) => Boolean, msg: => Any): ScalaRep[U, V]
    Implicit
    This member is added by an implicit conversion from ScalaRep[U, V] toEnsuring[ScalaRep[U, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (ScalaRep[U, V]) => Boolean): ScalaRep[U, V]
    Implicit
    This member is added by an implicit conversion from ScalaRep[U, V] toEnsuring[ScalaRep[U, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: => Any): ScalaRep[U, V]
    Implicit
    This member is added by an implicit conversion from ScalaRep[U, V] toEnsuring[ScalaRep[U, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): ScalaRep[U, V]
    Implicit
    This member is added by an implicit conversion from ScalaRep[U, V] toEnsuring[ScalaRep[U, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ScalaRep[U, V] toStringFormat[ScalaRep[U, V]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. 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
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. 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

Inherited from Any

Inherited by implicit conversion ScalaTerm fromScalaRep[U, V] to ScalaTerm[U, ScalaRep[U, V]]

Inherited by implicit conversion any2stringadd fromScalaRep[U, V] to any2stringadd[ScalaRep[U, V]]

Inherited by implicit conversion StringFormat fromScalaRep[U, V] to StringFormat[ScalaRep[U, V]]

Inherited by implicit conversion Ensuring fromScalaRep[U, V] to Ensuring[ScalaRep[U, V]]

Inherited by implicit conversion ArrowAssoc fromScalaRep[U, V] to ArrowAssoc[ScalaRep[U, V]]

Ungrouped