Documentation

Lean.PrettyPrinter.Delaborator.Basic

Equations
  • Lean.PrettyPrinter.Delaborator.instInhabitedDelabM = { default := throw default }
Equations
Equations
  • Lean.PrettyPrinter.Delaborator.instOrElseDelabM = { orElse := Lean.PrettyPrinter.Delaborator.orElse }
Equations
Equations
Equations
  • Lean.PrettyPrinter.Delaborator.mkDelabAttribute = Lean.KeyedDeclsAttribute.init { builtinName := `builtinDelab, name := `delab, descr := "Register a delaborator.\n\n [delab k] registers a declaration of type `Lean.PrettyPrinter.Delaborator.Delab` for the `Lean.Expr`\n constructor `k`. Multiple delaborators for a single constructor are tried in turn until\n the first success. If the term to be delaborated is an application of a constant `c`,\n elaborators for `app.c` are tried first; this is also done for `Expr.const`s (\"nullary applications\")\n to reduce special casing. If the term is an `Expr.mdata` with a single key `k`, `mdata.k`\n is tried first.", valueTypeName := `Lean.PrettyPrinter.Delaborator.Delab, evalKey := fun builtin stx => Lean.Attribute.Builtin.getId stx, onAdded := fun builtin declName => pure () } `Lean.PrettyPrinter.Delaborator.delabAttribute
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations
Equations