sealed trait iConstructorPattern[Cnstr <: Term with Subs[Cnstr]] extends AnyRef
- Alphabetic
- By Inheritance
- iConstructorPattern
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract type InducDataType <: Term with Subs[InducDataType]
- abstract type RecDataType <: Term with Subs[RecDataType]
(scala) type of data for recursion corresponding to the single constructor
- type iConstructorType = Cnstr
type of a constructor for this pattern.
Abstract Value Members
- abstract def apply(tps: F): Typ[iConstructorType]
- abstract def inClass[CC <: Term with Subs[CC]](w: Typ[H])(that: IndexedConstructorPatterns[CC, H, F]): iConstructorPattern[Cnstr]
- abstract val index: Ind
argument for the final image
- abstract def inducDataTyp(w: F, xs: Func[Total, Typ[Cod]])(cons: iConstructorType): Typ[InducDataType]
- abstract def inducDefCase(cons: iConstructorType, data: InducDataType, f: => DI): (Total) => Option[Cod]
- abstract def recDataTyp(w: F, x: Typ[Cod]): Typ[RecDataType]
domain containing the recursion data for the constructor, i.e., the HoTT type of recursion data.
- abstract def recDefCase(cons: iConstructorType, data: RecDataType, f: => I): (Total) => Option[Cod]
given a term, matches to see if this is the image of a given (quasi)-constructor.
given a term, matches to see if this is the image of a given (quasi)-constructor. returns simplification (wrapped in Some) if the term matches.
- cons
constructor, actually quasi-constructor, with which to match.
- data
definition data for the image of the constructor.
- f
the function being defined, to be applied recursively.
- abstract def subs(x: Term, y: Term): iConstructorPattern[Cnstr]
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from iConstructorPattern[Cnstr] toany2stringadd[iConstructorPattern[Cnstr]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def -->:(thatInd: (IterFuncPtn[H, Cod, F], Ind)): FuncPtn[F, Cnstr]
- def ->[B](y: B): (iConstructorPattern[Cnstr], B)
- Implicit
- This member is added by an implicit conversion from iConstructorPattern[Cnstr] toArrowAssoc[iConstructorPattern[Cnstr]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- 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 codClass[CC <: Term with Subs[CC]](w: Typ[H]): IndexedConstructorPatterns[CC, H, F]
- def constructor(tp: => F, name: AnySym): iConstructorDefn[iConstructorType with Subs[iConstructorType]]
constructor for this pattern given inductive type and name.
- def ensuring(cond: (iConstructorPattern[Cnstr]) => Boolean, msg: => Any): iConstructorPattern[Cnstr]
- Implicit
- This member is added by an implicit conversion from iConstructorPattern[Cnstr] toEnsuring[iConstructorPattern[Cnstr]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (iConstructorPattern[Cnstr]) => Boolean): iConstructorPattern[Cnstr]
- Implicit
- This member is added by an implicit conversion from iConstructorPattern[Cnstr] toEnsuring[iConstructorPattern[Cnstr]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): iConstructorPattern[Cnstr]
- Implicit
- This member is added by an implicit conversion from iConstructorPattern[Cnstr] toEnsuring[iConstructorPattern[Cnstr]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): iConstructorPattern[Cnstr]
- Implicit
- This member is added by an implicit conversion from iConstructorPattern[Cnstr] toEnsuring[iConstructorPattern[Cnstr]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from iConstructorPattern[Cnstr] toStringFormat[iConstructorPattern[Cnstr]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- def funcFrom[T <: Term with Subs[T]](tail: Typ[T], fmly: FamilyType): CnstFncPtn[T, Cnstr]
- 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()
- def piOf[T <: Term with Subs[T]](tailVar: T, fmly: FamilyType): CnstDepFuncPtn[U, Cnstr, RecDataType, InducDataType, Nothing] forSome {type U >: tailVar.type <: Term with Subs[U]}
- 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 withCod[CC <: Term with Subs[CC]](w: Typ[H]): iConstructorPattern[Cnstr]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def →[B](y: B): (iConstructorPattern[Cnstr], B)
- Implicit
- This member is added by an implicit conversion from iConstructorPattern[Cnstr] toArrowAssoc[iConstructorPattern[Cnstr]] 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.