123456789101112131415161718192021222324252627(************************************************************************)(* v * The Coq Proof Assistant / The Coq Development Team *)(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2016 *)(* \VV/ **************************************************************)(* // * This file is distributed under the terms of the *)(* * GNU Lesser General Public License Version 2.1 *)(************************************************************************)(************************************************************************)(* Coq serialization API/Plugin *)(* Copyright 2016-2017 MINES ParisTech *)(* Written by: Emilio J. Gallego Arias *)(************************************************************************)(* Status: Very Experimental *)(************************************************************************)openSexplib.Stdtypebigint=[%import:Bigint.bigint]type_bigint=Ser_Bigintofstring[@@derivingsexp]let_bigint_putbigint=Ser_Bigint(Bigint.to_stringbigint)let_bigint_get(Ser_Bigintbigint)=Bigint.of_stringbigintletbigint_of_sexpsexp=_bigint_get(_bigint_of_sexpsexp)letsexp_of_bigintbigint=sexp_of__bigint(_bigint_putbigint)