- spawnArgs : IO.Process.SpawnArgs
- exitCode : UInt32
- stdout : String
- stderr : String
Instances For
def
Lean.Server.FileWorker.runLakeSetupFile
(m : Lean.Server.DocumentMeta)
(lakePath : Lake.FilePath)
(filePath : Lake.FilePath)
(imports : Array Lean.Import)
(handleStderr : String → IO Unit)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
partial def
Lean.Server.FileWorker.runLakeSetupFile.processStderr
(lakePath : Lake.FilePath)
(handleStderr : String → IO Unit)
(args : Array String)
(lakeProc : IO.Process.Child
{
toStdioConfig :=
{ stdin := IO.Process.Stdio.null, stdout := IO.Process.Stdio.piped, stderr := IO.Process.Stdio.piped },
cmd := lakePath.toString, args := args, cwd := none, env := #[], setsid := false }.toStdioConfig)
(acc : String)
:
- success: Lean.Server.FileWorker.FileSetupResultKind
- noLakefile: Lean.Server.FileWorker.FileSetupResultKind
- importsOutOfDate: Lean.Server.FileWorker.FileSetupResultKind
- error: String → Lean.Server.FileWorker.FileSetupResultKind
Instances For
- srcSearchPath : Lean.SearchPath
- fileOptions : Lean.Options
Instances For
def
Lean.Server.FileWorker.FileSetupResult.ofSuccess
(pkgSearchPath : Lean.SearchPath)
(fileOptions : Lean.Options)
:
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
- 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
def
Lean.Server.FileWorker.FileSetupResult.addGlobalOptions
(result : Lean.Server.FileWorker.FileSetupResult)
(globalOptions : Lean.Options)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Server.FileWorker.setupFile
(m : Lean.Server.DocumentMeta)
(imports : Array Lean.Import)
(handleStderr : String → IO Unit)
:
Uses lake setup-file
to compile dependencies on the fly and add them to LEAN_PATH
.
Compilation progress is reported to handleStderr
. Returns the search path for
source files and the options for the file.
Equations
- One or more equations did not get rendered due to their size.