File: .lake/packages/lean4/src/lean/lake/Lake/Config/Monad.lean

full_name: Lake.MonadLakeEnv
code: /-- A monad equipped with a (read-only) detected environment for Lake. -/
abbrev MonadLakeEnv (m : Type → Type u) 
goal: Type u

full_name: Lake.LakeEnvT
code: /-- A transformer to equip a monad with a `Lake.Env`. -/
abbrev LakeEnvT 
goal: Type u_1

full_name: Lake.LakeEnvT.run
code: @[inline] def LakeEnvT.run (env : Lake.Env) (self : LakeEnvT m α) : m α 
goal: m α

full_name: Lake.MonadWorkspace.getWorkspace
code: /-- A monad equipped with a (read-only) Lake `Workspace`. -/
class MonadWorkspace (m : Type → Type u) where
  getWorkspace : m Workspace
goal: m Lake.Workspace

full_name: Lake.MonadWorkspace
code: /-- A monad equipped with a (read-only) Lake `Workspace`. -/
class MonadWorkspace (m : Type → Type u) where
  getWorkspace : m Workspace
goal: Type u

full_name: Lake.instMonadWorkspaceOfMonadReaderOfWorkspace
code: instance [MonadReaderOf Workspace m] : MonadWorkspace m 
goal: Lake.MonadWorkspace m

full_name: Lake.instMonadWorkspaceOfMonadStateOfWorkspace
code: instance [MonadStateOf Workspace m] : MonadWorkspace m 
goal: Lake.MonadWorkspace m

full_name: Lake.MonadLake
code: /-- A monad equipped with a (read-only) Lake context. -/
abbrev MonadLake (m : Type → Type u) 
goal: Type u

full_name: Lake.mkLakeContext
code: /-- Make a `Lake.Context` from a `Workspace`. -/
@[inline] def mkLakeContext (ws : Workspace) : Lake.Context 
goal: Lake.Context

full_name: Lake.instMonadLakeOfMonadWorkspaceOfFunctor
code: instance [MonadWorkspace m] [Functor m] : MonadLake m 
goal: Lake.MonadLake m

full_name: Lake.Context.workspace
code: @[inline] def Context.workspace (self : Context) 
goal: Lake.Workspace

full_name: Lake.instMonadWorkspaceOfMonadLakeOfFunctor
code: instance [MonadLake m] [Functor m] : MonadWorkspace m 
goal: Lake.MonadWorkspace m

full_name: Lake.instMonadLakeEnvOfMonadWorkspaceOfFunctor
code: instance [MonadWorkspace m] [Functor m] : MonadLakeEnv m 
goal: Lake.MonadLakeEnv m

full_name: Lake.getRootPackage
code: /-- Get the root package of the context's workspace. -/
@[inline] def getRootPackage : m Package 
goal: m Lake.Package

full_name: Lake.findPackage?
code: @[inherit_doc Workspace.findPackage?, inline]
def findPackage? (name : Name) : m (Option (NPackage name)) 
goal: m (Option (Lake.NPackage name))

full_name: Lake.findModule?
code: @[inherit_doc Workspace.findModule?, inline]
def findModule? (name : Name) : m (Option Module) 
goal: m (Option Lake.Module)

full_name: Lake.findLeanExe?
code: @[inherit_doc Workspace.findLeanExe?, inline]
def findLeanExe? (name : Name) : m (Option LeanExe) 
goal: m (Option Lake.LeanExe)

full_name: Lake.findLeanLib?
code: @[inherit_doc Workspace.findLeanLib?, inline]
def findLeanLib? (name : Name) : m (Option LeanLib) 
goal: m (Option Lake.LeanLib)

full_name: Lake.findExternLib?
code: @[inherit_doc Workspace.findExternLib?, inline]
def findExternLib? (name : Name) : m (Option ExternLib) 
goal: m (Option Lake.ExternLib)

full_name: Lake.getLeanPath
code: /-- Get the paths added to `LEAN_PATH` by the context's workspace. -/
@[inline] def getLeanPath : m SearchPath 
goal: m Lake.SearchPath

full_name: Lake.getLeanSrcPath
code: /-- Get the paths added to `LEAN_SRC_PATH` by the context's workspace. -/
@[inline] def getLeanSrcPath : m SearchPath 
goal: m Lake.SearchPath

full_name: Lake.getSharedLibPath
code: /-- Get the paths added to the shared library path by the context's workspace. -/
@[inline] def getSharedLibPath : m SearchPath 
goal: m Lake.SearchPath

full_name: Lake.getAugmentedLeanPath
code: /-- Get the augmented `LEAN_PATH` set by the context's workspace. -/
@[inline] def getAugmentedLeanPath : m SearchPath 
goal: m Lake.SearchPath

full_name: Lake.getAugmentedLeanSrcPath
code: /-- Get the augmented `LEAN_SRC_PATH` set by the context's workspace. -/
@[inline] def getAugmentedLeanSrcPath  : m SearchPath 
goal: m Lake.SearchPath

full_name: Lake.getAugmentedSharedLibPath
code: /-- Get the augmented shared library path set by the context's workspace. -/
@[inline] def getAugmentedSharedLibPath  : m SearchPath 
goal: m Lake.SearchPath

full_name: Lake.getAugmentedEnv
code: /-- Get the augmented environment variables set by the context's workspace. -/
@[inline]  def getAugmentedEnv : m (Array (String × Option String)) 
goal: m (Array (String × Option String))

full_name: Lake.getLakeEnv
code: @[inline] def getLakeEnv : m Lake.Env 
goal: m Lake.Env

full_name: Lake.getPkgUrlMap
code: /-- Get the `LAKE_PACKAGE_URL_MAP` for the Lake environment. Empty if none. -/
@[inline] def getPkgUrlMap : m (NameMap String) 
goal: m (Lake.NameMap String)

full_name: Lake.getElanToolchain
code: /-- Get the name of Elan toolchain for the Lake environment. Empty if none. -/
@[inline] def getElanToolchain : m String 
goal: m String

full_name: Lake.getEnvLeanPath
code: /-- Get the detected `LEAN_PATH` value of the Lake environment. -/
@[inline] def getEnvLeanPath : m SearchPath 
goal: m Lake.SearchPath

full_name: Lake.getEnvLeanSrcPath
code: /-- Get the detected `LEAN_SRC_PATH` value of the Lake environment. -/
@[inline] def getEnvLeanSrcPath : m SearchPath 
goal: m Lake.SearchPath

full_name: Lake.getEnvSharedLibPath
code: /-- Get the detected `sharedLibPathEnvVar` value of the Lake environment. -/
@[inline] def getEnvSharedLibPath : m SearchPath 
goal: m Lake.SearchPath

full_name: Lake.getElanInstall?
code: /-- Get the detected Elan installation (if one). -/
@[inline] def getElanInstall? : m (Option ElanInstall) 
goal: m (Option Lake.ElanInstall)

full_name: Lake.getElanHome?
code: /-- Get the root directory of the detected Elan installation (i.e., `ELAN_HOME`). -/
@[inline] def getElanHome? : m (Option FilePath) 
goal: m (Option Lake.FilePath)

full_name: Lake.getElan?
code: /-- Get the path of the `elan` binary in the detected Elan installation. -/
@[inline] def getElan? : m (Option FilePath) 
goal: m (Option Lake.FilePath)

full_name: Lake.getLeanInstall
code: /-- Get the detected Lean installation. -/
@[inline] def getLeanInstall : m LeanInstall 
goal: m Lake.LeanInstall

full_name: Lake.getLeanSysroot
code: /-- Get the root directory of the detected Lean installation. -/
@[inline] def getLeanSysroot : m FilePath 
goal: m Lake.FilePath

full_name: Lake.getLeanSrcDir
code: /-- Get the Lean source directory of the detected Lean installation. -/
@[inline] def getLeanSrcDir : m FilePath 
goal: m Lake.FilePath

full_name: Lake.getLeanLibDir
code: /-- Get the Lean library directory of the detected Lean installation. -/
@[inline] def getLeanLibDir : m FilePath 
goal: m Lake.FilePath

full_name: Lake.getLeanIncludeDir
code: /-- Get the C include directory of the detected Lean installation. -/
@[inline] def getLeanIncludeDir : m FilePath 
goal: m Lake.FilePath

full_name: Lake.getLeanSystemLibDir
code: /-- Get the system library directory of the detected Lean installation. -/
@[inline] def getLeanSystemLibDir : m FilePath 
goal: m Lake.FilePath

full_name: Lake.getLean
code: /-- Get the path of the `lean` binary in the detected Lean installation. -/
@[inline] def getLean : m FilePath 
goal: m Lake.FilePath

full_name: Lake.getLeanc
code: /-- Get the path of the `leanc` binary in the detected Lean installation. -/
@[inline] def getLeanc : m FilePath 
goal: m Lake.FilePath

full_name: Lake.getLeanSharedLib
code: /-- Get the path of the `libleanshared` library in the detected Lean installation. -/
@[inline] def getLeanSharedLib : m FilePath 
goal: m Lake.FilePath

full_name: Lake.getLeanAr
code: /-- Get the path of the `ar` binary in the detected Lean installation. -/
@[inline] def getLeanAr : m FilePath 
goal: m Lake.FilePath

full_name: Lake.getLeanCc
code: /-- Get the path of C compiler in the detected Lean installation. -/
@[inline] def getLeanCc : m FilePath 
goal: m Lake.FilePath

full_name: Lake.getLeanCc?
code: /-- Get the optional `LEAN_CC` compiler override of the detected Lean installation. -/
@[inline] def getLeanCc? : m (Option String) 
goal: m (Option String)

full_name: Lake.getLakeInstall
code: /-- Get the detected Lake installation. -/
@[inline] def getLakeInstall : m LakeInstall 
goal: m Lake.LakeInstall

full_name: Lake.getLakeHome
code: /-- Get the root directory of the detected Lake installation (e.g., `LAKE_HOME`). -/
@[inline] def getLakeHome : m FilePath 
goal: m Lake.FilePath

full_name: Lake.getLakeSrcDir
code: /-- Get the source directory of the detected Lake installation. -/
@[inline] def getLakeSrcDir : m FilePath 
goal: m Lake.FilePath

full_name: Lake.getLakeLibDir
code: /-- Get the Lean library directory of the detected Lake installation. -/
@[inline] def getLakeLibDir : m FilePath 
goal: m Lake.FilePath

full_name: Lake.getLake
code: /-- Get the path of the `lake` binary in the detected Lake installation. -/
@[inline] def getLake : m FilePath 
goal: m Lake.FilePath