package coq-lsp

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-lsp-0.2.0.8.20.tbz
sha256=bcb9a4c3219aed47ffbfd7c8ea7a2f374140d8cdb76079927548f49c7e3576a9
sha512=945c0010b4952e41055cb7e35175d400e5c126dc340dd1c0ab53321605cd0d9539af6693a794cb81a9dec0385d0880d4417dae923b6d19c9b62913766a185d8c

doc/coq-lsp.coq/Coq/Protect/R/index.html

Module Protect.RSource

This "monad" could be related to "Runners in action" (Ahman, Bauer), thanks to Guillaume Munch-Maccagnoni for the reference and for many useful tips!

Sourcetype ('a, 'l) t = private
  1. | Completed of ('a, 'l Error.t) result
  2. | Interrupted
Sourceval error : Pp.t -> ('a, 'l) t
Sourceval map : f:('a -> 'b) -> ('a, 'l) t -> ('b, 'l) t
Sourceval map_error : f:('l Error.payload -> 'm Error.payload) -> ('a, 'l) t -> ('a, 'm) t
Sourceval map_loc : f:('l -> 'm) -> ('a, 'l) t -> ('a, 'm) t

Update the loc stored in the result, this is used by our cache-aware location

OCaml

Innovation. Community. Security.