X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fcic_unification%2FcoercGraph.ml;h=9dfd6613d458016f25f0b520bd488f461acfe4e7;hb=0ef9250d71eacd6b1022194128e6acfb74d52aac;hp=61df4ceb5548e22a263039e48edc0024b7bc5064;hpb=0080faad4e730c227b6bbb2549407b23703b477a;p=helm.git diff --git a/helm/software/components/cic_unification/coercGraph.ml b/helm/software/components/cic_unification/coercGraph.ml index 61df4ceb5..9dfd6613d 100644 --- a/helm/software/components/cic_unification/coercGraph.ml +++ b/helm/software/components/cic_unification/coercGraph.ml @@ -136,7 +136,7 @@ let source_of t = ;; let generate_dot_file () = - let l = CoercDb.to_list () in + let l = CoercDb.to_list (CoercDb.dump ()) in let module Pp = GraphvizPp.Dot in let buf = Buffer.create 10240 in let fmt = Format.formatter_of_buffer buf in @@ -263,7 +263,7 @@ let splat e l = List.map (fun (x1,x2,_) -> e, Some (x1,x2)) l;; (* : carr -> (carr * uri option) where the option is always Some *) let get_coercions_to carr = - let l = CoercDb.to_list () in + let l = CoercDb.to_list (CoercDb.dump ()) in let splat_coercion_to carr (src,tgt,cl) = if CoercDb.eq_carr tgt carr then Some (splat src cl) else None in @@ -273,7 +273,7 @@ let get_coercions_to carr = (* : carr -> (carr * uri option) where the option is always Some *) let get_coercions_from carr = - let l = CoercDb.to_list () in + let l = CoercDb.to_list (CoercDb.dump ()) in let splat_coercion_from carr (src,tgt,cl) = if CoercDb.eq_carr src carr then Some (splat tgt cl) else None in