Attributes for the pretty printer #
This module defines attributes that influence pretty printer output.
Marks a structure to be pretty printed using the anonymous constructor notation (⟨a, b, c⟩
).
Marks a declaration to never be pretty printed using field notation.
Returns whether or not the given declaration has the @[pp_using_anonymous_constructor]
attribute.
Equations
- Lean.hasPPUsingAnonymousConstructorAttribute env declName = Lean.ppUsingAnonymousConstructorAttr.hasTag env declName
Instances For
Returns whether or not the given declaration has the @[pp_nodot]
attribute.
Equations
- Lean.hasPPNoDotAttribute env declName = Lean.ppNoDotAttr.hasTag env declName