X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2FnReference.mli;h=1de23ad8b9b6bd647cca4f07c589471d9412559b;hb=0080faad4e730c227b6bbb2549407b23703b477a;hp=fcb12a995d8f7a59d68684ce78d9cda36bcfc976;hpb=345f329e767d0b4a1a87d10e08f92657a95c10ac;p=helm.git diff --git a/helm/software/components/ng_kernel/nReference.mli b/helm/software/components/ng_kernel/nReference.mli index fcb12a995..1de23ad8b 100644 --- a/helm/software/components/ng_kernel/nReference.mli +++ b/helm/software/components/ng_kernel/nReference.mli @@ -15,11 +15,11 @@ exception IllFormedReference of string Lazy.t type spec = | Decl - | Def of int (* height *) - | Fix of int * int * int (* fixno, recparamno, height *) + | 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 *) + | Ind of bool * int * int (* inductive, indtyno, leftno *) + | Con of int * int * int (* indtyno, constrno, leftno *) type reference = private Ref of NUri.uri * spec @@ -29,5 +29,7 @@ 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