X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Flibrary%2FlibrarySync.mli;h=43ac34da32865e6ed587efb7c48c22dbc8b6a622;hb=f4f050696e66b8604d9f0ff8173afe03addf74d6;hp=1400b081bdc77165694e29cfbd48ae8699cb2754;hpb=5dd5b3f6cd990d4d126b44c092e1df7f86c506d4;p=helm.git diff --git a/helm/ocaml/library/librarySync.mli b/helm/ocaml/library/librarySync.mli index 1400b081b..43ac34da3 100644 --- a/helm/ocaml/library/librarySync.mli +++ b/helm/ocaml/library/librarySync.mli @@ -34,3 +34,19 @@ val add_obj: UriManager.uri -> Cic.obj -> basedir:string -> UriManager.uri list (* Warning: it does not remove the dependencies on the object and on its *) (* auxiliary lemmas! *) val remove_obj: UriManager.uri -> unit + +(* Informs the library that [uri] is a coercion. *) +(* This can generate some composite coercions that, if [add_composites] *) +(* is true are added to the library. *) +(* The list of added objects is returned. *) +val add_coercion: + basedir:string -> add_composites:bool -> UriManager.uri -> + UriManager.uri list + +(* inverse of add_coercion, removes both the eventually created composite *) +(* coercions and the information that [uri] and the composites are coercion *) +val remove_coercion: UriManager.uri -> unit + +(* mh... *) +val remove_all_coercions: unit -> unit +