]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nReference.mli
Patch to add a debugging string to HExtlib.split_nth reverted
[helm.git] / helm / software / components / ng_kernel / nReference.mli
index 703d32d02e7f0e99418ec5041bab7eaf823abd5f..d291b621b7140c828e12a5614ffd28a15ea85890 100644 (file)
@@ -23,11 +23,15 @@ type spec =
 
 type reference = private Ref of NUri.uri * spec
 
+val reference_of_spec: NUri.uri -> spec -> reference
+
 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
+(* given the reference of an inductive type constructor, returns the indty *)
+val mk_indty: bool -> reference -> reference
 val mk_fix: int -> int -> reference -> reference
 val mk_cofix: int -> reference -> reference