package coq-lsp

  1. Overview
  2. Docs
type 'a hyp = 'a Coq.Goals.hyp = {
  1. names : string list;
  2. def : 'a option;
  3. ty : 'a;
}
val hyp_to_yojson : 'a. ('a -> Yojson.Safe.t) -> 'a hyp -> Yojson.Safe.t
val hyp_of_yojson : 'a. (Yojson.Safe.t -> 'a Ppx_deriving_yojson_runtime.error_or) -> Yojson.Safe.t -> 'a hyp Ppx_deriving_yojson_runtime.error_or
type info = Coq.Goals.info = {
  1. evar : Evar.t;
  2. name : Names.Id.t option;
}
val info_to_yojson : info -> Yojson.Safe.t
val info_of_yojson : Yojson.Safe.t -> info Ppx_deriving_yojson_runtime.error_or
type 'a reified_goal = 'a Coq.Goals.reified_goal = {
  1. info : info;
  2. hyps : 'a hyp list;
  3. ty : 'a;
}
val reified_goal_to_yojson : 'a. ('a -> Yojson.Safe.t) -> 'a reified_goal -> Yojson.Safe.t
val reified_goal_of_yojson : 'a. (Yojson.Safe.t -> 'a Ppx_deriving_yojson_runtime.error_or) -> Yojson.Safe.t -> 'a reified_goal Ppx_deriving_yojson_runtime.error_or
module Goals_ : sig ... end
type ('a, 'pp) goals = ('a, 'pp) Coq.Goals.goals
val goals_to_yojson : ('a -> Yojson.Safe.t) -> ('b -> Yojson.Safe.t) -> ('a, 'b) Coq.Goals.goals -> Yojson.Safe.t
type 'pp reified_pp = ('pp reified_goal, 'pp) goals
val reified_pp_to_yojson : 'pp. ('pp -> Yojson.Safe.t) -> 'pp reified_pp -> Yojson.Safe.t
val _ : ('a -> Yojson.Safe.t) -> 'a reified_pp -> Yojson.Safe.t
OCaml

Innovation. Community. Security.