HepLean Documentation

Lake.Util.Version

Version #

This module contains useful definitions for manipulating versions. It also defines a v!"<ver>" syntax for version literals.

The major-minor-patch triple of a SemVer.

Instances For
    Equations
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      Instances For
        Equations
        • One or more equations did not get rendered due to their size.
        structure Lake.StdVerextends Lake.SemVerCore :

        A Lean-style semantic version. A major-minor-patch triple with an optional arbitrary - suffix.

        Instances For
          Equations
          @[reducible, inline]

          A Lean version.

          Equations
          Instances For
            @[inline]
            Equations
            Instances For
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  Equations
                  Instances For
                    Equations
                    Equations
                    • One or more equations did not get rendered due to their size.

                    Version Literals #

                    Defines the v!"<ver>" syntax for version literals. The elaborator attempts to synthesize an instance of ToVersion for the expected type and then applies it to the string literal.

                    class Lake.DecodeVersion (α : Type u) :

                    Parses a version from a string.

                    Instances

                      A Lake version literal.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For