]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nReference.mli
Added boolean "is_inductive" to NReference.Ind
[helm.git] / helm / software / components / ng_kernel / nReference.mli
index 75285360836a600b5d00455f0af3ad72b17eb969..b73239465691af895fde32b484385e5bfb505e2e 100644 (file)
@@ -18,7 +18,7 @@ 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 = private Ref of int *  NUri.uri * spec
@@ -29,6 +29,7 @@ val string_of_reference: reference -> string
 (* 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
 
 
 (* CACCA *)