def
Lean.Syntax.formatStx
(stx : Lean.Syntax)
(maxDepth : optParam (Option Nat) none)
(showInfo : optParam Bool false)
:
Equations
- Lean.Syntax.formatStx stx maxDepth showInfo = Lean.Syntax.formatStxAux maxDepth showInfo 0 stx
Equations
- Lean.Syntax.instToFormatSyntax = { format := fun stx => Lean.Syntax.formatStx stx none }
Equations
- Lean.Syntax.instToStringSyntax = { toString := toString ∘ Lean.format }
Equations
- Lean.Syntax.instToFormatTSyntax = { format := fun a => Lean.format a.raw }