- 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.
Equations
- Lean.Elab.Term.instInhabitedArg = { default := Lean.Elab.Term.Arg.stx default }
- ref : Lean.Syntax
- name : Lean.Name
- val : Lean.Elab.Term.Arg
Named arguments created using the notation (x := val)
Equations
- Lean.Elab.Term.instInhabitedNamedArg = { default := { ref := default, name := default, val := default } }
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.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.