package coq-lsp

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.