Documentation

Lean.Elab.Arg

Auxiliary inductive datatype for combining unelaborated syntax and already elaborated expressions. It is used to elaborate applications.

Instances For
    @[implicit_reducible]
    @[implicit_reducible]

    Named arguments created using the notation (x := val).

    • ref : Syntax
    • name : Name
    • val : Arg
    • numImplicitParams : Nat

      Overrides the binder infos for the first numImplicitParams parameters to make them be implicit if they were explicit. This is used for expanding projection notation. The primary motivation for this field is that class projections may feature explicit structure parameters. See the note at Lean.Elab.Term.ElabAppArgs.processExplicitArg.

    Instances For

      Add a new named argument to namedArgs, and throw an error if it already contains a named argument with the same name.

      Instances For