12345678910111213141516171819202122232425262728293031323334353637(************************************************************************)(* * 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 *)(************************************************************************)openSexplibtype_t=string[@@derivingyojson]let_t_put=Uint63.to_stringlet_t_getx=Uint63.of_int64(Int64.of_stringx)typet=Uint63.tlett_of_sexp(x:Sexp.t):Uint63.t=_t_get(Conv.string_of_sexpx)letsexp_of_t(x:Uint63.t):Sexp.t=Conv.sexp_of_string(_t_putx)letof_yojsonjson=Ppx_deriving_yojson_runtime.(_t_of_yojsonjson>|=_t_get)letto_yojsonlevel=_t_to_yojson(_t_putlevel)lethash_fold_tsti=Ppx_hash_lib.Std.Hash.Builtin.hash_fold_int64st(Uint63.to_int64i)letcomparei1i2=Ppx_compare_lib.Builtin.compare_int64(Uint63.to_int64i1)(Uint63.to_int64i2)