package coq-lsp

  1. Overview
  2. Docs

Module Protect.RSource

Sourcetype ('a, 'l) t = private
  1. | Completed of ('a, 'l Error.t) result
  2. | Interrupted
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.