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. ty : 'a;
  3. hyps : 'a hyp list;
}
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
type 'a goals = 'a Coq.Goals.goals = {
  1. goals : 'a list;
  2. stack : ('a list * 'a list) list;
  3. bullet : Pp.t option;
  4. shelf : 'a list;
  5. given_up : 'a list;
}
val goals_to_yojson : 'a. ('a -> Yojson.Safe.t) -> 'a goals -> Yojson.Safe.t
val goals_of_yojson : 'a. (Yojson.Safe.t -> 'a Ppx_deriving_yojson_runtime.error_or) -> Yojson.Safe.t -> 'a goals Ppx_deriving_yojson_runtime.error_or
type reified_pp = Pp.t reified_goal goals
val reified_pp_to_yojson : reified_pp -> Yojson.Safe.t
val reified_pp_of_yojson : Yojson.Safe.t -> reified_pp Ppx_deriving_yojson_runtime.error_or
val _ : Yojson.Safe.t -> reified_pp Ppx_deriving_yojson_runtime.error_or
OCaml

Innovation. Community. Security.