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.12.0.0.12.1.tbz
sha256=08a12e8e8766c2e6a6a7394b0df48989c081367fa7d4d8dd8cdcd026575b4859
sha512=80267021f065f04543f72f16827fc7642ce98ed93940b0f780e83b0c751ac1a8df0e27018326315726c1b7b029015da31eec8322fda15a3a23c57850d53ef358

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.