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.18.0.0.18.3.tbz
sha256=d9a32c0033d720032011e9bf5e8d30d4b205ce276b6a81ab359fc461809e9b63
sha512=742d2b92b986e45044c19cd2bbfd5dd5346cfb4b0ec20f40811d8b0096c6e25192528359f98d2eed2a74ae67790d1f8cea382cb01fd7cf8903a5a917cca79a84

doc/src/serlib_ring/ser_g_ring.ml.html

Source file ser_g_ring.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
open Sexplib.Conv
open Ppx_hash_lib.Std.Hash.Builtin
open Ppx_compare_lib.Builtin
open Serlib

module CAst       = Ser_cAst
module Libnames   = Ser_libnames
module Constrexpr = Ser_constrexpr
module Tactypes   = Ser_tactypes
module Genintern  = Ser_genintern
module EConstr    = Ser_eConstr
module Tacexpr    = Serlib_ltac.Ser_tacexpr

module Ltac_plugin = struct
  module Tacexpr = Serlib_ltac.Ser_tacexpr
end

type 'constr coeff_spec =
  [%import: 'constr Ring_plugin.Ring_ast.coeff_spec]
  [@@deriving sexp,hash,compare]

type cst_tac_spec =
  [%import: Ring_plugin.Ring_ast.cst_tac_spec]
  [@@deriving sexp,hash,compare]

type 'constr ring_mod =
  [%import: 'constr Ring_plugin.Ring_ast.ring_mod]
  [@@deriving sexp,hash,compare]

type 'a field_mod =
  [%import: 'a Ring_plugin.Ring_ast.field_mod]
  [@@deriving sexp,hash,compare]

module A0 = struct
  type raw = Constrexpr.constr_expr field_mod
    [@@deriving sexp,hash,compare]
  type glb = unit
    [@@deriving sexp,hash,compare]
  type top = unit
    [@@deriving sexp,hash,compare]
end

let ser_wit_field_mod = let module M = Ser_genarg.GS(A0) in M.genser

module A1 = struct
  type raw = Constrexpr.constr_expr field_mod list
    [@@deriving sexp,hash,compare]
  type glb = unit
    [@@deriving sexp,hash,compare]
  type top = unit
    [@@deriving sexp,hash,compare]
end

let ser_wit_field_mods = let module M = Ser_genarg.GS(A1) in M.genser

module A2 = struct
  type raw = Constrexpr.constr_expr ring_mod
    [@@deriving sexp,hash,compare]
  type glb = unit
    [@@deriving sexp,hash,compare]
  type top = unit
    [@@deriving sexp,hash,compare]
end

let ser_wit_ring_mod = let module M = Ser_genarg.GS(A2) in M.genser

module A3 = struct
  type raw = Constrexpr.constr_expr ring_mod list
    [@@deriving sexp,hash,compare]
  type glb = unit
    [@@deriving sexp,hash,compare]
  type top = unit
    [@@deriving sexp,hash,compare]
end

let ser_wit_ring_mods = let module M = Ser_genarg.GS(A3) in M.genser

let register () =
  Ser_genarg.register_genser Ring_plugin.G_ring.wit_field_mod  ser_wit_field_mod;
  Ser_genarg.register_genser Ring_plugin.G_ring.wit_field_mods ser_wit_field_mods;
  Ser_genarg.register_genser Ring_plugin.G_ring.wit_ring_mod  ser_wit_ring_mod;
  Ser_genarg.register_genser Ring_plugin.G_ring.wit_ring_mods ser_wit_ring_mods;
  ()

let _ = register ()
OCaml

Innovation. Community. Security.