/-
Copyright (c) 2024 Kyle Miller. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kyle Miller
-/
module
public import Mathlib.Init
/-!
# Mathlib-specific pretty printer options
-/
public meta section
namespace Mathlib
open Lean
/--
The `pp.mathlib.binderPredicates` option is used to control whether mathlib pretty printers
should use binder predicate notation (such as `∀ x < 2, p x`).
-/
register_option pp.mathlib.binderPredicates : Bool := {
defValue := true
descr := "(pretty printer) pretty prints binders such as \
`∀ (x : α) (x < 2), p x` as `∀ x < 2, p x`"
}
/-- Gets whether `pp.mathlib.binderPredicates` is enabled. -/
def getPPBinderPredicates (o : Options) : Bool :=
o.get pp.mathlib.binderPredicates.name (!getPPAll o)
end Mathlib
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland