package coq-lsp

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-lsp-0.2.2.8.18.tbz
sha256=ec0a692c2ca60ee1a087626bb6087076f0e9a5ace3c88b1209c2f5dea0c91035
sha512=8aac7c4c99a7bdae741084e567348f8a4c36d64939d79348ff7b6f50dacf36da7aee8b7e648e94a863e895d1c60d911e2b3e38b4b8dcdf04c8ed1edde28f7660

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 Message.Payload.t -> 'm Message.Payload.t) -> ('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.