- All Implemented Interfaces:
Def,GenericDef,AyaDocile
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.aya.core.def.Def
Def.Signature<T extends Term> -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @NotNull PrimDef.IDfinal @NotNull DefVar<@NotNull PrimDef,TeleDecl.PrimDecl> Fields inherited from class org.aya.core.def.TopLevelDef
result, telescope -
Constructor Summary
ConstructorsConstructorDescriptionPrimDef(@NotNull DefVar<@NotNull PrimDef, @NotNull TeleDecl.PrimDecl> ref, @NotNull kala.collection.immutable.ImmutableSeq<Term.Param> telescope, @NotNull Term result, @NotNull PrimDef.ID name) PrimDef(@NotNull DefVar<@NotNull PrimDef, @NotNull TeleDecl.PrimDecl> ref, @NotNull Term result, @NotNull PrimDef.ID name) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull PiTermfamilyLeftToRight(Term term) Let A be argument, thenA 0 -> A 1static @NotNull PiTermfamilyRightToLeft(Term term) Let A be argument, thenA 1 -> A 0static @NotNull TermI -> Type@NotNull DefVar<@NotNull PrimDef,TeleDecl.PrimDecl> ref()@NotNull Termresult()@NotNull kala.collection.immutable.ImmutableSeq<Term.Param>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aya.generic.AyaDocile
debuggerOnlyToDoc
-
Field Details
-
ref
-
id
-
-
Constructor Details
-
PrimDef
public PrimDef(@NotNull @NotNull DefVar<@NotNull PrimDef, @NotNull TeleDecl.PrimDecl> ref, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<Term.Param> telescope, @NotNull @NotNull Term result, @NotNull @NotNull PrimDef.ID name) -
PrimDef
public PrimDef(@NotNull @NotNull DefVar<@NotNull PrimDef, @NotNull TeleDecl.PrimDecl> ref, @NotNull @NotNull Term result, @NotNull @NotNull PrimDef.ID name)
-
-
Method Details
-
telescope
- Specified by:
telescopein interfaceDef- Overrides:
telescopein classTopLevelDef<Term>
-
result
- Specified by:
resultin interfaceGenericDef- Overrides:
resultin classTopLevelDef<Term>
-
familyLeftToRight
Let A be argument, thenA 0 -> A 1 -
familyRightToLeft
Let A be argument, thenA 1 -> A 0 -
intervalToType
I -> Type -
ref
-