]> matita.cs.unibo.it Git - helm.git/blobdiff - components/library/coercDb.ml
snopshot (working one!)
[helm.git] / components / library / coercDb.ml
index 0ca40eb1c2860cef5da6d5def71040cfb7422234..80222ad341f9d0ae8be79861a64735e03c46cbdc 100644 (file)
@@ -190,3 +190,7 @@ let add_coercion (src,tgt,u,saturations) =
         db := (src,tgt,(u,1,saturations)::l)::tl @ rest
       
 ;;
+
+type coerc_db = (coerc_carr * coerc_carr * (UriManager.uri * int * int) list) list 
+let dump () = !db 
+let restore coerc_db = db := coerc_db