case class CnstFncPtn[TT <: Term with Subs[TT], HC <: Term with Subs[HC]](tail: Typ[TT], head: iConstructorPattern[HC]) extends RecursiveiConstructorPattern[TT, HC, Func[TT, HC]] with Product with Serializable
- Alphabetic
- By Inheritance
- CnstFncPtn
- Serializable
- Product
- Equals
- RecursiveiConstructorPattern
- iConstructorPattern
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CnstFncPtn(tail: Typ[TT], head: iConstructorPattern[HC])
Type Members
- type ArgType = TT
scala type of argument to constructor A -> ...
scala type of argument to constructor A -> ... (or A ~> ...)
- Definition Classes
- RecursiveiConstructorPattern
- type HeadInducDataType = iConstructorPattern.InducDataType
- Definition Classes
- CnstFncPtn → RecursiveiConstructorPattern
- type HeadRecDataType = iConstructorPattern.RecDataType
(scala) type of recursive data for head.
(scala) type of recursive data for head.
- Definition Classes
- CnstFncPtn → RecursiveiConstructorPattern
- type HeadType = HC
scala type of the head T for constructor A -> T for Pi-Types, the head may have varying HoTT type but must have fixed scala type.
scala type of the head T for constructor A -> T for Pi-Types, the head may have varying HoTT type but must have fixed scala type.
- Definition Classes
- RecursiveiConstructorPattern
- type InducDataType = FuncLike[TT, iConstructorPattern.InducDataType]
- Definition Classes
- CnstFncPtn → iConstructorPattern
- type RecDataType = Func[TT, iConstructorPattern.RecDataType]
(scala) type of data for recursion corresponding to the single constructor
(scala) type of data for recursion corresponding to the single constructor
- Definition Classes
- CnstFncPtn → iConstructorPattern
- type iConstructorType = Func[TT, HC]
type of a constructor for this pattern.
type of a constructor for this pattern.
- Definition Classes
- iConstructorPattern
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 CnstFncPtn[TT, HC] toany2stringadd[CnstFncPtn[TT, HC]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def -->:(thatInd: (IterFuncPtn[H, Cod, F], Ind)): FuncPtn[F, Func[TT, HC]]
- Definition Classes
- iConstructorPattern
- def ->[B](y: B): (CnstFncPtn[TT, HC], B)
- Implicit
- This member is added by an implicit conversion from CnstFncPtn[TT, HC] toArrowAssoc[CnstFncPtn[TT, HC]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val _head: iConstructorPattern[HC] { ... /* 3 definitions in type refinement */ }
- def apply(tps: F): FuncTyp[ArgType, iConstructorType]
- Definition Classes
- CnstFncPtn → iConstructorPattern
- 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]
- Definition Classes
- iConstructorPattern
- def constructor(tp: => F, name: AnySym): iConstructorDefn[iConstructorType with Subs[iConstructorType]]
constructor for this pattern given inductive type and name.
constructor for this pattern given inductive type and name.
- Definition Classes
- iConstructorPattern
- def ensuring(cond: (CnstFncPtn[TT, HC]) => Boolean, msg: => Any): CnstFncPtn[TT, HC]
- Implicit
- This member is added by an implicit conversion from CnstFncPtn[TT, HC] toEnsuring[CnstFncPtn[TT, HC]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (CnstFncPtn[TT, HC]) => Boolean): CnstFncPtn[TT, HC]
- Implicit
- This member is added by an implicit conversion from CnstFncPtn[TT, HC] toEnsuring[CnstFncPtn[TT, HC]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): CnstFncPtn[TT, HC]
- Implicit
- This member is added by an implicit conversion from CnstFncPtn[TT, HC] toEnsuring[CnstFncPtn[TT, HC]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): CnstFncPtn[TT, HC]
- Implicit
- This member is added by an implicit conversion from CnstFncPtn[TT, HC] toEnsuring[CnstFncPtn[TT, HC]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from CnstFncPtn[TT, HC] toStringFormat[CnstFncPtn[TT, HC]] 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, Func[TT, HC]]
- Definition Classes
- iConstructorPattern
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val head: iConstructorPattern[HC]
- def headData(data: RecDataType, arg: ArgType, f: => I): HeadRecDataType
returns data for recursion to be passed on to the head given an argument (when matching with the construtor).
returns data for recursion to be passed on to the head given an argument (when matching with the construtor).
- Definition Classes
- CnstFncPtn → RecursiveiConstructorPattern
- def headInducData(data: InducDataType, arg: ArgType, f: => DI): HeadInducDataType
- Definition Classes
- CnstFncPtn → RecursiveiConstructorPattern
- val headfibre: (ArgType) => _head
The head pattern, constant T for A -> T and T(a) for A ~> T(a)
The head pattern, constant T for A -> T and T(a) for A ~> T(a)
- Definition Classes
- CnstFncPtn → RecursiveiConstructorPattern
- def inClass[CC <: Term with Subs[CC]](w: Typ[H])(that: IndexedConstructorPatterns[CC, H, F]): iConstructorPattern[iConstructorType]
- Definition Classes
- CnstFncPtn → iConstructorPattern
- val index: Ind
argument for the final image
argument for the final image
- Definition Classes
- CnstFncPtn → iConstructorPattern
- def inducDataTyp(tps: F, xs: Func[Total, Typ[Cod]])(cons: iConstructorType): Typ[InducDataType]
- Definition Classes
- CnstFncPtn → iConstructorPattern
- def inducDefCase(cons: iConstructorType, data: InducDataType, f: => DI): (Total) => Option[Cod]
- Definition Classes
- RecursiveiConstructorPattern → iConstructorPattern
- 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, Func[TT, HC], RecDataType, InducDataType, Nothing] forSome {type U >: tailVar.type <: Term with Subs[U]}
- Definition Classes
- iConstructorPattern
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def recDataTyp(tps: F, x: Typ[Cod]): Typ[RecDataType]
domain containing the recursion data for the constructor, i.e., the HoTT type of recursion data.
domain containing the recursion data for the constructor, i.e., the HoTT type of recursion data.
- Definition Classes
- CnstFncPtn → iConstructorPattern
- 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.
- Definition Classes
- RecursiveiConstructorPattern → iConstructorPattern
- def subs(x: Term, y: Term): CnstFncPtn[TT, HC]
- Definition Classes
- CnstFncPtn → iConstructorPattern
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tail: Typ[TT]
- 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[Func[TT, HC]]
- Definition Classes
- iConstructorPattern
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def →[B](y: B): (CnstFncPtn[TT, HC], B)
- Implicit
- This member is added by an implicit conversion from CnstFncPtn[TT, HC] toArrowAssoc[CnstFncPtn[TT, HC]] 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.