diff options
| author | herbelin | 1999-11-24 17:55:44 +0000 |
|---|---|---|
| committer | herbelin | 1999-11-24 17:55:44 +0000 |
| commit | 6e9f19b7dc30eb451dc4cb67be0dd202eab22718 (patch) | |
| tree | 698a588326a04807b8e79057338db51625783447 /pretyping/recordops.mli | |
| parent | c2e126d2a753e57a3ec0b65760655dc08d79e2b2 (diff) | |
Versions initiales
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@136 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping/recordops.mli')
| -rwxr-xr-x | pretyping/recordops.mli | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/pretyping/recordops.mli b/pretyping/recordops.mli new file mode 100755 index 0000000000..d619fd3ae7 --- /dev/null +++ b/pretyping/recordops.mli @@ -0,0 +1,48 @@ + +(* $Id$ *) + +(*i*) +open Names +open Term +open Generic +open Classops +open Libobject +open Library +(*i*) + +val nbimpl : int ref +val nbpathc : int ref +val nbcoer : int ref +val nbstruc : int ref +val nbimplstruc : int ref +val compter : bool ref + +type struc_typ = { + s_CONST : identifier; + s_PARAM : int; + s_PROJ : section_path option list } + +val add_new_struc : Names.section_path * Names.identifier * int * + Names.section_path option list -> unit +val struc_info : Names.section_path -> struc_typ + +type obj_typ = { + o_DEF : constr; + o_TABS : constr list; (* dans l'ordre *) + o_TPARAMS : constr list; (* dans l'ordre *) + o_TCOMPS : constr list } (* dans l'ordre *) + +val oBJDEFS : ((cte_typ*cte_typ) * obj_typ) list ref +val sTRUCS : (section_path * struc_typ) list ref + +val objdef_info : (cte_typ*cte_typ) -> obj_typ +val add_new_objdef : (Classops.cte_typ * Classops.cte_typ) * Term.constr * Term.constr list * + Term.constr list * Term.constr list -> unit + + +val inStruc : section_path*struc_typ -> obj +val outStruc : obj -> section_path*struc_typ +val inObjDef1 : section_path -> obj +val outObjDef1 : obj -> section_path + +val add_new_objdef1 : ((cte_typ*cte_typ) * obj_typ) -> unit |
