123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899(************************************************************************)(* 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 MINES ParisTech *)(************************************************************************)(* Status: Very Experimental *)(************************************************************************)openSexplib.StdopenPpx_hash_lib.Std.Hash.BuiltinopenPpx_compare_lib.BuiltinmoduleNames=Ser_namesmoduleRawLevel=structmoduleUGlobal=structtypet=Names.DirPath.t*int[@@derivingsexp,yojson,hash,compare]endtypet=|SProp|Prop|Set|LevelofUGlobal.t|Varofint[@@derivingsexp,yojson,hash,compare]endmoduleLevel=structmodulePierceSpec=structtypet=Univ.Level.ttype_t={hash:int;data:RawLevel.t}[@@derivingsexp,yojson,hash,compare]endmodulePierceImp=SerType.Pierce(PierceSpec)includePierceImpmoduleSet=Ser_cSet.Make(Univ.Level.Set)(PierceImp)end(* XXX: Think what to do with this *)moduleUniverse=structmodulePierceSpec=structtypet=Univ.Universe.ttype_t=(Level.t*int)list[@@derivingsexp,yojson,hash,compare]endincludeSerType.Pierce(PierceSpec)end(*************************************************************************)typeconstraint_type=[%import:Univ.constraint_type][@@derivingsexp,yojson,hash,compare]typeuniv_constraint=[%import:Univ.univ_constraint][@@derivingsexp,yojson,hash,compare]moduleConstraints=Ser_cSet.Make(Univ.Constraints)(structtypet=univ_constraintlett_of_sexp=univ_constraint_of_sexpletsexp_of_t=sexp_of_univ_constraintletof_yojson=univ_constraint_of_yojsonletto_yojson=univ_constraint_to_yojsonlethash=hash_univ_constraintlethash_fold_t=hash_fold_univ_constraintletcompare=compare_univ_constraintend)type'aconstrained=[%import:'aUniv.constrained][@@derivingsexp,yojson,hash,compare]moduleContextSet=structtypet=[%import:Univ.ContextSet.t][@@derivingsexp,yojson,hash,compare]endtype'ain_universe_context_set=[%import:'aUniv.in_universe_context_set][@@derivingsexp]