package coq-serapi
Serialization library and protocol for machine interaction with the Coq proof assistant
Install
Dune Dependency
Authors
Maintainers
Sources
coq-serapi-8.13.0.0.13.0.tbz
sha256=ddef1d7278021ce391f62e8e222e10962c7a308d6a2dfd8320382b4cf9a8cd75
sha512=8ee9cc09e5b8708b6cd7b0af8fccaa900413aa106cb47d99ca1fdd5b39c52676fa906204766f8f9e0964cc7e3ef987009de79f26b534b2021cf66f20c3d62bfe
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 86 87
open Sexplib.Conv 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] type cst_tac_spec = [%import: Ring_plugin.Ring_ast.cst_tac_spec] [@@deriving sexp] type 'constr ring_mod = [%import: 'constr Ring_plugin.Ring_ast.ring_mod] [@@deriving sexp] type 'a field_mod = [%import: 'a Ring_plugin.Ring_ast.field_mod] [@@deriving sexp] let ser_wit_field_mod = Ser_genarg. { raw_ser = sexp_of_field_mod Constrexpr.sexp_of_constr_expr ; raw_des = field_mod_of_sexp Constrexpr.constr_expr_of_sexp ; glb_ser = sexp_of_unit ; glb_des = unit_of_sexp ; top_ser = sexp_of_unit ; top_des = unit_of_sexp } let ser_wit_field_mods = Ser_genarg. { raw_ser = sexp_of_list (sexp_of_field_mod Constrexpr.sexp_of_constr_expr) ; raw_des = list_of_sexp (field_mod_of_sexp Constrexpr.constr_expr_of_sexp) ; glb_ser = sexp_of_unit ; glb_des = unit_of_sexp ; top_ser = sexp_of_unit ; top_des = unit_of_sexp } let ser_wit_ring_mod = Ser_genarg. { raw_ser = sexp_of_ring_mod Constrexpr.sexp_of_constr_expr ; raw_des = ring_mod_of_sexp Constrexpr.constr_expr_of_sexp ; glb_ser = sexp_of_unit ; glb_des = unit_of_sexp ; top_ser = sexp_of_unit ; top_des = unit_of_sexp } let ser_wit_ring_mods = Ser_genarg. { raw_ser = sexp_of_list (sexp_of_ring_mod Constrexpr.sexp_of_constr_expr) ; raw_des = list_of_sexp (ring_mod_of_sexp Constrexpr.constr_expr_of_sexp) ; glb_ser = sexp_of_unit ; glb_des = unit_of_sexp ; top_ser = sexp_of_unit ; top_des = unit_of_sexp } 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 ()
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>