package linol

  1. Overview
  2. Docs
LSP server library

Install

Dune Dependency

Authors

Maintainers

Sources

linol-0.10.tbz
sha256=174bb8cad5b8b0c260d62b0a85da13c4f5caba4fcee042ee58284b09de7896ea
sha512=77460788407c72a33fbe289ec9c78421117543594b3524a5c8fe836f0e272c5ceb1e1074b91c1d1f476f89b75b6f63847a8021675a782ff36457c9626121a7f4

doc/src/linol.lsp/cancel_request.ml.html

Source file cancel_request.ml

1
2
3
4
5
6
7
8
9
10
11
open Import

let meth_ = "$/cancelRequest"

let t_of_yojson json =
  match json with
  | `Assoc fields -> Json.field_exn fields "id" Jsonrpc.Id.t_of_yojson
  | _ -> Json.error "invalid id" json
;;

let yojson_of_t id = `Assoc [ "id", Jsonrpc.Id.yojson_of_t id ]
OCaml

Innovation. Community. Security.