Documentation

Lean.Elab.ConfigEval.DeriveEvalTerm

def Lean.Elab.ConfigEval.EvalTerm.withSimpleEvalStx {α : Type} (indTypeName : Name) (evalStxImpl : StringTSyntaxArray `termTermElabM (α × Expr)) :

Wrapper to handle atomic identifiers and dotted identifiers.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    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.

      Instances For