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]
    Equations
    • One or more equations did not get rendered due to their size.
    @[implicit_reducible]
    Equations
    • One or more equations did not get rendered due to their size.

    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
      @[implicit_reducible]
      Equations
      • One or more equations did not get rendered due to their size.

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