* http://cs.unibo.it/helm/.
*)
+(*CSC: generatore di nomi? Chiedere il nome? *)
+let fresh_name =
+ let next_fresh_index = ref 0 in
+ function
+ Cic.Anonymous ->
+ incr next_fresh_index ;
+ "fresh_name" ^ string_of_int !next_fresh_index
+ | Cic.Name name ->
+ incr next_fresh_index ;
+ name ^ string_of_int !next_fresh_index
+
(* identity_relocation_list_for_metavariable i canonical_context *)
(* returns the identity relocation list, which is the list [1 ; ... ; n] *)
(* where n = List.length [canonical_context] *)