Documentation

Lean.Elab.BindersUtil

Determines the local declaration kind of a binder using its name.

Names that begin with __ are implementation details (.implDetail).

Equations
Instances For

    Recall that

    def typeSpec := leading_parser " : " >> termParser
    def optType : Parser := optional typeSpec
    
    Equations
    Instances For

      Helper function for expandEqnsIntoMatch

      Equations
      Instances For
        def Lean.Elab.Term.expandMatchAlt (stx : TSyntax `Lean.Parser.Term.matchAlt) :
        MacroM (Array (TSyntax `Lean.Parser.Term.matchAlt))

        Expand a match alternative such as | 0 | 1 => rhs to an array containing | 0 => rhs and | 1 => rhs.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def Lean.Elab.Term.shouldExpandMatchAlt :
          TSyntax `Lean.Parser.Term.matchAltBool
          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.Term.clearInMatchAlt (stx : TSyntax `Lean.Parser.Term.matchAlt) (vars : Array Ident) :
              TSyntax `Lean.Parser.Term.matchAlt
              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