partial def
Lean.Syntax.formatStxAux
(maxDepth : Option Nat)
(showInfo : Bool)
:
Nat → Lean.Syntax → Std.Format
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 ∘ Std.format }