def Lean.Elab.ConfigEval.EvalTerm.checkExpectedNumberOfArguments (ctor : Name) (expected : Nat) (args : TSyntaxArray `term) :
Instances For
def Lean.Elab.ConfigEval.ensureEvalTerm (vis? : Option (TSyntax `Lean.Parser.Command.visibility)) (kind : TSyntax `Lean.Parser.Term.attrKind) (cmdRef typeRef : Syntax) (type : Expr) :
Ensures an EvalTerm instance exists for the given type by deriving one if necessary.
Derivation can handle EvalTerm instance for inductive types without universes, parameters, or indices,
and which only does simple recursion.