]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nReference.mli
New check implemented: the sort of each constructor should be constrained by
[helm.git] / helm / software / components / ng_kernel / nReference.mli
index b73239465691af895fde32b484385e5bfb505e2e..fcb12a995d8f7a59d68684ce78d9cda36bcfc976 100644 (file)
@@ -15,23 +15,19 @@ exception IllFormedReference of string Lazy.t
 
 type spec = 
  | Decl 
- | Def
- | Fix of int * int (* fixno, recparamno *)
+ | Def of int (* height *)
+ | Fix of int * int * int (* fixno, recparamno, height *)
  | CoFix of int
  | Ind of bool * int (* inductive, indtyno *)
  | Con of int * int (* indtyno, constrno *)
 
-type reference = private Ref of int *  NUri.uri * spec
+type reference = private Ref of NUri.uri * spec
 
 val eq: reference -> reference -> bool
 val string_of_reference: reference -> string 
+val reference_of_string: string -> reference
 
 (* given the reference of an inductive type, returns the i-th contructor *)
 val mk_constructor: int -> reference -> reference
 val mk_fix: int -> int -> reference -> reference
 val mk_cofix: int -> reference -> reference
-
-
-(* CACCA *)
-val reference_of_ouri: UriManager.uri -> spec ->  reference
-val ouri_of_reference: reference -> UriManager.uri