Documentation

Lean.Data.Lsp.Ipc

Provides an IpcM monad for interacting with an external LSP process. Used for testing the Lean server.

def Lean.Lsp.Ipc.readRequestAs (expectedMethod : String) (α : Type) [inst : Lean.FromJson α] :
Equations

Waits for the worker to emit all diagnostics for the current document version and returns them as a list.

Equations
  • One or more equations did not get rendered due to their size.
def Lean.Lsp.Ipc.runWith {α : Type} (lean : System.FilePath) (args : optParam (Array String) #[]) (test : Lean.Lsp.Ipc.IpcM α) :
IO α
Equations
  • One or more equations did not get rendered due to their size.