package coq-serapi

  1. Overview
  2. Docs
Serialization library and protocol for machine interaction with the Coq proof assistant

Install

Dune Dependency

Authors

Maintainers

Sources

coq-serapi-8.10.0.0.7.1.tbz
sha256=207b091d8d9d9e1a649759f0acfd15cbfda54a2627a01fc74aa74ec0ffaa3400
sha512=af85d00c5896e78a6edea7794070795ca14c8e47a0e9a28f2ac003364b0f99eb72f19f57e755a3967d255b1aaf62cae0d09bbab02d2d35ef6ee02b84823a0929

doc/coq-serapi.serlib/Serlib/Ser_locus/index.html

Module Serlib.Ser_locus

type 'a or_var = 'a Locus.or_var
val or_var_of_sexp : (Sexplib.Sexp.t -> 'a) -> Sexplib.Sexp.t -> 'a or_var
val sexp_of_or_var : ('a -> Sexplib.Sexp.t) -> 'a or_var -> Sexplib.Sexp.t
val or_var_of_yojson : (Yojson.Safe.t -> ('a, string) Result.result) -> Yojson.Safe.t -> ('a or_var, string) Result.result
val or_var_to_yojson : ('a -> Yojson.Safe.t) -> 'a or_var -> Yojson.Safe.t
type 'a occurrences_gen = 'a Locus.occurrences_gen
val occurrences_gen_of_sexp : (Sexplib.Sexp.t -> 'a) -> Sexplib.Sexp.t -> 'a occurrences_gen
val sexp_of_occurrences_gen : ('a -> Sexplib.Sexp.t) -> 'a occurrences_gen -> Sexplib.Sexp.t
type occurrences_expr = Locus.occurrences_expr
val occurrences_expr_of_sexp : Sexplib.Sexp.t -> occurrences_expr
val sexp_of_occurrences_expr : occurrences_expr -> Sexplib.Sexp.t
type 'a with_occurrences = 'a Locus.with_occurrences
val with_occurrences_of_sexp : (Sexplib.Sexp.t -> 'a) -> Sexplib.Sexp.t -> 'a with_occurrences
val sexp_of_with_occurrences : ('a -> Sexplib.Sexp.t) -> 'a with_occurrences -> Sexplib.Sexp.t
val with_occurrences_of_yojson : (Yojson.Safe.t -> ('a, string) Result.result) -> Yojson.Safe.t -> ('a with_occurrences, string) Result.result
val with_occurrences_to_yojson : ('a -> Yojson.Safe.t) -> 'a with_occurrences -> Yojson.Safe.t
type occurrences = Locus.occurrences
val occurrences_of_sexp : Sexplib.Sexp.t -> occurrences
val sexp_of_occurrences : occurrences -> Sexplib.Sexp.t
type hyp_location_flag = Locus.hyp_location_flag
val hyp_location_flag_of_sexp : Sexplib.Sexp.t -> hyp_location_flag
val sexp_of_hyp_location_flag : hyp_location_flag -> Sexplib.Sexp.t
type 'a hyp_location_expr = 'a Locus.hyp_location_expr
val hyp_location_expr_of_sexp : (Sexplib.Sexp.t -> 'a) -> Sexplib.Sexp.t -> 'a hyp_location_expr
val sexp_of_hyp_location_expr : ('a -> Sexplib.Sexp.t) -> 'a hyp_location_expr -> Sexplib.Sexp.t
type 'id clause_expr = 'id Locus.clause_expr
val clause_expr_of_sexp : (Sexplib.Sexp.t -> 'id) -> Sexplib.Sexp.t -> 'id clause_expr
val sexp_of_clause_expr : ('id -> Sexplib.Sexp.t) -> 'id clause_expr -> Sexplib.Sexp.t
type clause = Locus.clause
val clause_of_sexp : Sexplib.Sexp.t -> clause
val sexp_of_clause : clause -> Sexplib.Sexp.t
type clause_atom = Locus.clause_atom
val clause_atom_of_sexp : Sexplib.Sexp.t -> clause_atom
val sexp_of_clause_atom : clause_atom -> Sexplib.Sexp.t
type 'id concrete_clause = 'id Locus.clause_expr
val concrete_clause_of_sexp : (Sexplib.Sexp.t -> 'id) -> Sexplib.Sexp.t -> 'id concrete_clause
val sexp_of_concrete_clause : ('id -> Sexplib.Sexp.t) -> 'id concrete_clause -> Sexplib.Sexp.t
type hyp_location = Locus.clause_atom
val hyp_location_of_sexp : Sexplib.Sexp.t -> hyp_location
val sexp_of_hyp_location : hyp_location -> Sexplib.Sexp.t
type 'id goal_location = 'id Locus.clause_expr
val goal_location_of_sexp : (Sexplib.Sexp.t -> 'id) -> Sexplib.Sexp.t -> 'id goal_location
val sexp_of_goal_location : ('id -> Sexplib.Sexp.t) -> 'id goal_location -> Sexplib.Sexp.t
type simple_clause = Locus.clause_atom
val simple_clause_of_sexp : Sexplib.Sexp.t -> simple_clause
val sexp_of_simple_clause : simple_clause -> Sexplib.Sexp.t
type 'id or_like_first = 'id Locus.clause_expr
val or_like_first_of_sexp : (Sexplib.Sexp.t -> 'id) -> Sexplib.Sexp.t -> 'id or_like_first
val sexp_of_or_like_first : ('id -> Sexplib.Sexp.t) -> 'id or_like_first -> Sexplib.Sexp.t
OCaml

Innovation. Community. Security.