Equations
- Lean.PrettyPrinter.ppTerm stx = Lean.PrettyPrinter.ppCategory `term stx.raw
Instances For
Equations
Instances For
def Lean.PrettyPrinter.ppExprWithInfos (e : Expr) (optsPerPos : Delaborator.OptionsPerPos := ∅) (delab : Delaborator.Delab := Delaborator.delab) :
Return a fmt representing pretty-printed e together with a map from tags in fmt
to Elab.Info nodes produced by the delaborator at various subexpressions of e.
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.PrettyPrinter.ppExprLegacy (env : Environment) (mctx : MetavarContext) (lctx : LocalContext) (opts : Options) (e : Expr) :
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.PrettyPrinter.ppLevel l = do let __do_lift ← Lean.PrettyPrinter.delabLevel l 0 liftM (Lean.PrettyPrinter.ppCategory `level __do_lift.raw)
Instances For
Equations
- Lean.PrettyPrinter.ppTactic stx = Lean.PrettyPrinter.ppCategory `tactic stx.raw
Instances For
Equations
- Lean.PrettyPrinter.ppCommand stx = Lean.PrettyPrinter.ppCategory `command stx.raw
Instances For
Equations
Instances For
Pretty-prints a declaration c as c.{<levels>} <params> : <type>.
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
Turns a MetaM FormatWithInfos into a MessageData.lazy which will run the monadic value.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Pretty print a const expression using delabConst and generate terminfo.
This function avoids inserting @ if the constant is for a function whose first
argument is implicit, which is what the default toMessageData for Expr does.
Panics if e is not a constant.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Generates MessageData for a declaration c as c.{<levels>} <params> : <type>, with terminfo.
Equations
- One or more equations did not get rendered due to their size.