package coq-lsp

  1. Overview
  2. Docs
Language Server Protocol native server for Coq

Install

Dune Dependency

Authors

Maintainers

Sources

coq-lsp-0.1.9.8.17.tbz
sha256=a89d86ed8b19d09bf3a06acbed690ae2859a7343d9faa03537c76cd492371651
sha512=edae491b284d5ab586c82cea4003a5b477f41ab25a4659431d4bc8caaee39b62de03b64d088ab8c528416210f88f73d4dfe5efbd32b22c70b75c9d18999c1e00

doc/coq-lsp.lsp/Lsp/Base/Response/index.html

Module Base.ResponseSource

Sourcetype t =
  1. | Ok of {
    1. id : int;
    2. result : Yojson.Safe.t;
    }
  2. | Error of {
    1. id : int;
    2. code : int;
    3. message : string;
    4. data : Yojson.Safe.t option;
    }
Sourceval to_yojson : t -> Yojson.Safe.t
Sourceval mk_ok : id:int -> result:Yojson.Safe.t -> t

Answer to a request

Sourceval mk_error : id:int -> code:int -> message:string -> t

Fail a request

Sourceval id : t -> int
OCaml

Innovation. Community. Security.