Documentation

Lean.Parser.Term.Doc

Environment extension to register preferred spellings of notations in identifiers.

Information about how to spell a certain notation for an identifier in declaration names.

  • notation : String

    The notation in question.

  • recommendedSpelling : String

    The recommended spelling of the notation in identifiers.

  • additionalInformation? : Option String

    Additional information.

Instances For

    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.

    Adds a recommended spelling to the environment.

    Equations
      Instances For

        Returns the recommended spellings associated with the given declaration name.

        Equations
          Instances For

            Renders the recommended spellings for the given declaration into a string for appending to the docstring.

            Equations
              Instances For