java.lang.Object
java.lang.Record
org.aya.core.term.PathTerm.Cube
- Record Components:
params- Dimension parameters, never empty.partial- Partial element carried by this path.
- Enclosing class:
PathTerm
public static record PathTerm.Cube(@NotNull kala.collection.immutable.ImmutableSeq<LocalVar> params, @NotNull Term type, @NotNull org.aya.guest0x0.cubical.Partial<Term> partial)
extends Record
'Generalized path' syntax.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull TermapplyDimsTo(@NotNull Term pLam) @NotNull PiTermfinal booleanIndicates whether some other object is "equal to" this one.@NotNull Term@NotNull Term"not really eta".final inthashCode()Returns a hash code value for this object.@NotNull Term@NotNull PathTerm.Cube@NotNull PathTerm.Cubemap(@NotNull kala.collection.immutable.ImmutableSeq<LocalVar> params, @NotNull Function<Term, Term> mapper) @NotNull kala.collection.immutable.ImmutableSeq<LocalVar>params()Returns the value of theparamsrecord component.@NotNull org.aya.guest0x0.cubical.Partial<Term>partial()Returns the value of thepartialrecord component.@NotNull Termfinal StringtoString()Returns a string representation of this record class.@NotNull Termtype()Returns the value of thetyperecord component.
-
Constructor Details
-
Method Details
-
eta
-
computePi
-
substType
-
applyDimsTo
-
map
@NotNull public @NotNull PathTerm.Cube map(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<LocalVar> params, @NotNull @NotNull Function<Term, Term> mapper) -
map
-
makeApp
-
etaLam
"not really eta". Used together withcomputePi() -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
params
Returns the value of theparamsrecord component.- Returns:
- the value of the
paramsrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
partial
Returns the value of thepartialrecord component.- Returns:
- the value of the
partialrecord component
-