]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_proof_checking/cicElim.mli
ocaml 3.09 transition
[helm.git] / helm / ocaml / cic_proof_checking / cicElim.mli
index 722e52f33a7884dfb2b93687579a2e729dc21772..f1f84c92eafcc4d575ed78fbe89889efe443d885 100644 (file)
 exception Can_t_eliminate
 
   (** internal error while generating elimination principle *)
-exception Elim_failure of string
+exception Elim_failure of string Lazy.t
 
-(** @param sort target sort, defaults to Type
+(** @param sort target sort
 * @param uri inductive type uri
 * @param typeno inductive type number
 * @raise Failure
 * @raise Can_t_eliminate
 * @return Cic constant corresponding to the required elimination principle
+*         and its uri
 *)
-val elim_of: ?sort:Cic.sort -> UriManager.uri -> int -> Cic.obj
-
+val elim_of: sort:Cic.sort -> UriManager.uri -> int -> UriManager.uri * Cic.obj