]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nReference.mli
added # to comment
[helm.git] / helm / software / components / ng_kernel / nReference.mli
index 26145ee797b4a69ecb50b7ce6693e63d3927da2e..de468c3c10cdb67776fb877bab4b02af15bb4857 100644 (file)
@@ -21,11 +21,14 @@ type spec =
  | Ind of int
  | Con of int * int (* indtyno, constrno *)
 
-type reference = Ref of int *  NUri.uri * spec
+type reference = private Ref of int *  NUri.uri * spec
 
 val eq: reference -> reference -> bool
 val string_of_reference: reference -> string 
 
+(* given the reference of an inductive type, returns the i-th contructor *)
+val mk_constructor: int -> reference -> reference
+
 
 (* CACCA *)
 val reference_of_ouri: UriManager.uri -> spec ->  reference