X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2FnReference.mli;h=7f43c13e799cd3af071c6a6a0223941ac48c9cef;hb=738ff6e752f9e5facba4e92bdb64453062f52c7d;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..7f43c13e7 100644 --- a/helm/software/components/ng_kernel/nReference.mli +++ b/helm/software/components/ng_kernel/nReference.mli @@ -18,15 +18,16 @@ type spec = | Def | Fix of int * int (* fixno, recparamno *) | CoFix of int - | Ind of int + | Ind of bool * int (* inductive, indtyno *) | 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 +val reference_of_string: string -> reference - -(* CACCA *) -val reference_of_ouri: UriManager.uri -> spec -> reference -val ouri_of_reference: reference -> UriManager.uri +(* 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