]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_unification/coercGraph.ml
fix in the coercions list generation and aded a function to know the
[helm.git] / helm / ocaml / cic_unification / coercGraph.ml
index e256a19b82545562e990493c72429c7c85b3effc..eb1dc44ae84a184557256da37147d1cf5b848648 100644 (file)
@@ -188,11 +188,12 @@ let close_coercion_graph src tgt uri =
                 ((src,tgt,c_uri),(c_uri,named_obj,u))
       ) todo_list)
   in
-  coercions := !coercions @ new_coercions;
+  coercions := !coercions @ new_coercions @ [src,tgt,uri];
   new_coercions_obj
 ;;
 
-
+let get_coercions_list () =
+  !coercions
 
 
 (* stupid case *)