X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2FnReference.mli;h=de468c3c10cdb67776fb877bab4b02af15bb4857;hb=725115d4f97b92666c4241f88b4f337f9d07a79f;hp=26145ee797b4a69ecb50b7ce6693e63d3927da2e;hpb=0fae7e0c93edd15c8e7f9f8330721f94388100ad;p=helm.git diff --git a/helm/software/components/ng_kernel/nReference.mli b/helm/software/components/ng_kernel/nReference.mli index 26145ee79..de468c3c1 100644 --- a/helm/software/components/ng_kernel/nReference.mli +++ b/helm/software/components/ng_kernel/nReference.mli @@ -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