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/src/coq-lsp.lang/point.ml.html

Source file point.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
(************************************************************************)
(* Flèche => document manager: Language Support                         *)
(* Copyright 2019-2023 Inria      -- Dual License LGPL 2.1 / GPL3+      *)
(* Written by: Emilio J. Gallego Arias                                  *)
(************************************************************************)

type t =
  { line : int
  ; character : int
  ; offset : int
  }

let pp fmt { line; character; offset } =
  Format.fprintf fmt "{ l: %d, c: %d | o: %d }" line character offset
OCaml

Innovation. Community. Security.