Lake Configuration Monads #
Definitions and helpers for interacting with the Lake configuration monads.
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
Workspace Helpers #
Get the root package of the context's workspace.
Equations
Instances For
Try to find a package within the workspace with the given name.
Equations
Instances For
Locate the named, buildable, importable, local module in the workspace.
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
Get the paths added to LEAN_PATH
by the context's workspace.
Equations
Instances For
Get the paths added to LEAN_SRC_PATH
by the context's workspace.
Equations
Instances For
Get the augmented LEAN_PATH
set by the context's workspace.
Equations
Instances For
Get the augmented LEAN_SRC_PATH
set by the context's workspace.
Equations
Instances For
Environment Helpers #
Gets the current Lake environment.
Equations
Instances For
Get the LAKE_NO_CACHE
/--no-cache
Lake configuration.
Equations
Instances For
Get whether the LAKE_NO_CACHE
/--no-cache
Lake configuration is NOT set.
Equations
Instances For
Get the LAKE_PACKAGE_URL_MAP
for the Lake environment. Empty if none.
Equations
Instances For
Get the name of Elan toolchain for the Lake environment. Empty if none.
Equations
Instances For
Search Path Helpers #
Get the detected LEAN_PATH
value of the Lake environment.
Equations
Instances For
Get the detected LEAN_SRC_PATH
value of the Lake environment.
Equations
Instances For
Elan Install Helpers #
Get the detected Elan installation (if one).
Equations
Instances For
Get the root directory of the detected Elan installation (i.e., ELAN_HOME
).
Equations
Instances For
Get the path of the elan
binary in the detected Elan installation.
Equations
Instances For
Lean Install Helpers #
Get the detected Lean installation.
Equations
Instances For
Get the root directory of the detected Lean installation.
Equations
Instances For
Get the Lean source directory of the detected Lean installation.
Equations
Instances For
Get the Lean library directory of the detected Lean installation.
Equations
Instances For
Get the C include directory of the detected Lean installation.
Equations
Instances For
Get the system library directory of the detected Lean installation.
Equations
Instances For
Get the path of the lean
binary in the detected Lean installation.
Equations
Instances For
Get 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
Lake Install Helpers #
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.