- stx: Lean.Syntax → Lean.Elab.Term.Arg
- expr: Lean.Expr → Lean.Elab.Term.Arg
Auxiliary inductive datatype for combining unelaborated syntax and already elaborated expressions. It is used to elaborate applications.
Instances For
- ref : Lean.Syntax
- name : Lake.Name
- val : Lean.Elab.Term.Arg
Named arguments created using the notation (x := val)
Instances For
def
Lean.Elab.Term.addNamedArg
(namedArgs : Array Lean.Elab.Term.NamedArg)
(namedArg : Lean.Elab.Term.NamedArg)
:
Add a new named argument to namedArgs
, and throw an error if it already contains a named argument
with the same name.