]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/metadata/metadataTypes.mli
ocaml 3.09 transition
[helm.git] / helm / ocaml / metadata / metadataTypes.mli
index 73f9a703e8625eb659fdbcc1daacf6fb11757dd9..f86ff84f566b4c4f31c1ba01b72ae5ca01d6e234 100644 (file)
@@ -29,9 +29,16 @@ val mainhyp_pos : string
 val inhyp_pos : string
 val inbody_pos : string
 
+type relation = 
+  | Eq of int
+  | Le of int
+  | Lt of int
+  | Ge of int
+  | Gt of int
+
 type main_position =
-  [ `MainConclusion of int option (* Pi depth *)
-  | `MainHypothesis of int option (* Pi depth *)
+  [ `MainConclusion of relation option (* Pi depth *)
+  | `MainHypothesis of relation option (* Pi depth *)
   ]
 
 type position =
@@ -46,13 +53,13 @@ type pi_depth = int
 type metadata =
   [ `Sort of Cic.sort * main_position
   | `Rel of main_position
-  | `Obj of string * position
+  | `Obj of UriManager.uri * position
   ]
 
 type constr =
   [ `Sort of Cic.sort * main_position list
   | `Rel of main_position list
-  | `Obj of string * position list
+  | `Obj of UriManager.uri * position list
   ]
 
 val constr_of_metadata: metadata -> constr