]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/cic/cicUtil.mli
added a metas_of_term implemented using sets instead of lists (avoids some stack...
[helm.git] / helm / software / components / cic / cicUtil.mli
index 4391efc821ec6d0e2fe318e38c0faeb1aa9af48d..b8d71f51f96da76779f64a2efc25ba58e1565750 100644 (file)
@@ -36,6 +36,8 @@ val clean_up_local_context :
 val is_closed : Cic.term -> bool
 val is_meta_closed : Cic.term -> bool
 val metas_of_term : Cic.term -> (int * Cic.term option list) list
+(* as before but with no duplicates. may avoind some stack overflows *)
+val metas_of_term_set : Cic.term -> (int * Cic.term option list) list
 
   (** @raise Failure "not enough prods" *)
 val strip_prods: int -> Cic.term -> Cic.term