Documentation

Lake.Util.Version

Version #

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

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

A Lean version.

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

Parse a toolchain from a lean-toolchain file.

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

The elan toolchain file name (i.e., lean-toolchain).

Equations
@[inline]

Parse a toolchain from the lean-toolchain file of the directory dir.

Equations
Equations

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.

@[defaultInstance 1000]
Equations

A Lake version literal.

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