Documentation

Lean.Elab.BindersUtil

Recall that

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

    Helper function for expandEqnsIntoMatch

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

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

      Instances For
        def Lean.Elab.Term.shouldExpandMatchAlt :
        Lean.TSyntax `Lean.Parser.Term.matchAltBool
        Instances For
          def Lean.Elab.Term.clearInMatchAlt (stx : Lean.TSyntax `Lean.Parser.Term.matchAlt) (vars : Array Lean.Ident) :
          Lean.TSyntax `Lean.Parser.Term.matchAlt
          Instances For