A monad equipped with a (read-only) detected environment for Lake.
Equations
Instances For
Equations
Equations
A monad equipped with a (read-only) Lake context.
Equations
Instances For
Equations
Equations
Equations
Returns the root package of the context's workspace.
Equations
Instances For
Returns the unique package in the workspace (if any) that is identified by keyName.
Equations
Instances For
Returns the first package in the workspace (if any) that has been assigned the name.
This can be used to find the package corresponding to a user-provided name. If the package's unique
identifier is already available, use findPackageByKey?instead.
Equations
Instances For
Deprecated. If attempting to find the package corresponding to a user-provided name,
use findPackageByName?. Otherwise, if the package's
unique identifier is available, use findPackageByKey?.
Equations
Instances For
Locate the named, buildable, importable, local module in the workspace.
Equations
Instances For
For each package in the workspace, locate the named, buildable, importable, local module.
Equations
Instances For
Returns the buildable module in the workspace whose source file is path.
Equations
Instances For
Try to find a Lean executable in the workspace with the given name.
Equations
Instances For
Try to find a Lean library in the workspace with the given name.
Equations
Instances For
Try to find an external library in the workspace with the given name.
Equations
Instances For
Options to pass to the Lean server when editing Lean files outside a library.
Equations
Instances For
Options to pass to lean for files outside a library (e.g., via lake lean).
Equations
Instances For
Arguments to pass to lean for files outside a library (e.g., via lake lean).
Equations
Instances For
Returns the paths added to LEAN_PATH by the context's workspace.
Equations
Instances For
Returns the paths added to LEAN_SRC_PATH by the context's workspace.
Equations
Instances For
Returns the augmented LEAN_PATH set by the context's workspace.
Equations
Instances For
Returns the augmented LEAN_SRC_PATH set by the context's workspace.
Equations
Instances For
Returns the Lake cache for the environment.
Equations
Instances For
Returns the artifact in the Lake cache corresponding the given artifact description.
Equations
Instances For
Returns whether the package the artifact cache is enabled for the package.
If the package has not configured the artifact cache itself through
Package.enableArtifactCache?, this will default to the workspace configuration.
Equations
Instances For
Gets the current Lake environment.
Equations
Instances For
Returns the LAKE_NO_CACHE/--no-cache Lake configuration.
Equations
Instances For
Returns whether the LAKE_NO_CACHE/--no-cache Lake configuration is NOT set.
Equations
Instances For
Returns the LAKE_PACKAGE_URL_MAP for the Lake environment. Empty if none.
Equations
Instances For
Returns the name of Elan toolchain for the Lake environment. Empty if none.
Equations
Instances For
Returns the detected LEAN_PATH value of the Lake environment.
Equations
Instances For
Returns the detected LEAN_SRC_PATH value of the Lake environment.
Equations
Instances For
Returns the detected Elan installation (if one).
Equations
Instances For
Returns the root directory of the detected Elan installation (i.e., ELAN_HOME).
Equations
Instances For
Returns the path of the elan binary in the detected Elan installation.
Equations
Instances For
Returns the detected Lean installation.
Equations
Instances For
Returns the root directory of the detected Lean installation.
Equations
Instances For
Returns the Lean source directory of the detected Lean installation.
Equations
Instances For
Returns the Lean library directory of the detected Lean installation.
Equations
Instances For
Returns the C include directory of the detected Lean installation.
Equations
Instances For
Returns the system library directory of the detected Lean installation.
Equations
Instances For
Returns the path of the lean binary in the detected Lean installation.
Equations
Instances For
Returns the path of the leanc binary in the detected Lean installation.
Equations
Instances For
Get the path of the ar binary in the detected Lean installation.
Equations
Instances For
Get the path of C compiler in the detected Lean installation.
Equations
Instances For
Get the optional LEAN_CC compiler override of the detected Lean installation.
Equations
Instances For
Get the detected Lake installation.
Equations
Instances For
Get the root directory of the detected Lake installation (e.g., LAKE_HOME).
Equations
Instances For
Get the source directory of the detected Lake installation.
Equations
Instances For
Get the Lean library directory of the detected Lake installation.
Equations
Instances For
Get the path of the lake binary in the detected Lake installation.