12345678910111213141516171819202122232425262728293031323334353637383940414243444546(************************************************************************)(* * The Coq Proof Assistant / The Coq Development Team *)(* v * Copyright INRIA, CNRS and contributors *)(* <O___,, * (see version control and CREDITS file for authors & dates) *)(* VV/ **************************************************************)(* // * This file is distributed under the terms of the *)(* * GNU Lesser General Public License Version 2.1 *)(* * (see LICENSE file for the text of the license) *)(************************************************************************)(************************************************************************)(* SerAPI: Coq interaction protocol with bidirectional serialization *)(************************************************************************)(* Copyright 2016-2019 MINES ParisTech -- License LGPL 2.1+ *)(* Copyright 2019-2023 Inria -- License LGPL 2.1+ *)(* Written by: Emilio J. Gallego Arias and others *)(************************************************************************)openPpx_hash_lib.Std.Hash.BuiltinopenPpx_compare_lib.BuiltinopenSexplib.Std(* Private *)moduleSelf=structtypet=[%import:Evar.t]type_t=Ser_Evarofint[@@derivingsexp,yojson,hash,compare]let_t_putevar=Ser_Evar(Evar.reprevar)let_t_get(Ser_Evarevar)=Evar.unsafe_of_intevarlett_of_sexpsexp=_t_get(_t_of_sexpsexp)letsexp_of_tevar=sexp_of__t(_t_putevar)letof_yojsonjson=Ppx_deriving_yojson_runtime.(_t_of_yojsonjson>|=_t_get)letto_yojsonlevel=_t_to_yojson(_t_putlevel)lethashx=hash__t(_t_putx)lethash_fold_tstid=hash_fold__tst(_t_putid)letcomparexy=compare__t(_t_putx)(_t_puty)endincludeSelfmoduleSet=Ser_cSet.Make(Evar.Set)(Self)