package coq-lsp

  1. Overview
  2. Docs

Module Protect.RSource

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

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

OCaml

Innovation. Community. Security.