- spawnArgs : IO.Process.SpawnArgs
- exitCode : UInt32
- stdout : String
- stderr : String
Instances For
def
Lean.Server.FileWorker.runLakeSetupFile
(m : DocumentMeta)
(lakePath filePath : System.FilePath)
(header : ModuleHeader)
(handleStderr : String → IO Unit)
 :
Equations
- One or more equations did not get rendered due to their size.
Instances For
Categorizes possible outcomes of running lake setup-file.
- success : FileSetupResultKindFile configuration loaded and dependencies updated successfully. 
- noLakefile : FileSetupResultKindNo Lake project found, no setup was done. 
- importsOutOfDate : FileSetupResultKindImports must be rebuilt but --no-buildwas specified.
- error
(msg : String)
 : FileSetupResultKindOther error during Lake invocation. 
Instances For
Result of running lake setup-file.
- kind : FileSetupResultKindKind of outcome. 
- setup : ModuleSetupConfiguration from a successful setup, or else the default. 
Instances For
Equations
- Lean.Server.FileWorker.FileSetupResult.ofSuccess setup = pure { kind := Lean.Server.FileWorker.FileSetupResultKind.success, setup := setup }
Instances For
def
Lean.Server.FileWorker.FileSetupResult.ofNoLakefile
(m : DocumentMeta)
(header : ModuleHeader)
 :
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Server.FileWorker.FileSetupResult.ofImportsOutOfDate
(m : DocumentMeta)
(header : ModuleHeader)
 :
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Server.FileWorker.FileSetupResult.ofError
(m : DocumentMeta)
(header : ModuleHeader)
(msg : String)
 :
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Server.FileWorker.setupFile
(m : DocumentMeta)
(header : ModuleHeader)
(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.