Environment extension to register preferred spellings of notations in identifiers.
Recommended spellings for notations, stored in a way so that the recommended spellings for a given declaration are easily accessible.
Recommended spellings for notations, stored in such a way that it is easy to generate a table containing every recommended spelling exactly once.
def Lean.Parser.Term.Doc.addRecommendedSpelling (env : Environment) (rec : RecommendedSpelling) (names : Array Name) :
Adds a recommended spelling to the environment.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Returns the recommended spellings associated with the given declaration name.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Renders the recommended spellings for the given declaration into a string for appending to the docstring.
Equations
- One or more equations did not get rendered due to their size.