X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=components%2Flibrary%2FcoercDb.mli;h=92d4b7f2484e231e1547a62899fe094ece785c79;hb=36243ef64310a9ea2e51a0295744ab5de7abe055;hp=9e8bf5e9c03066cf219921ac66baaed7a96918d5;hpb=7f2444c2670cadafddd8785b687ef312158376b0;p=helm.git diff --git a/components/library/coercDb.mli b/components/library/coercDb.mli index 9e8bf5e9c..92d4b7f24 100644 --- a/components/library/coercDb.mli +++ b/components/library/coercDb.mli @@ -32,16 +32,21 @@ (** XXX WARNING: non-reentrant *) -type coerc_carr = Uri of UriManager.uri | Sort of Cic.sort | Term of Cic.term +type coerc_carr = + | Uri of UriManager.uri (* const, mutind, mutconstr *) + | Sort of Cic.sort (* Prop, Set, Type *) + | Term of Cic.term (* nothing supported *) + exception EqCarrNotImplemented of string Lazy.t exception EqCarrOnNonMetaClosed val eq_carr: coerc_carr -> coerc_carr -> bool val coerc_carr_of_term: Cic.term -> coerc_carr val name_of_carr: coerc_carr -> string +val uri_of_carr: coerc_carr -> UriManager.uri option val to_list: unit -> - (coerc_carr * coerc_carr * UriManager.uri) list + (coerc_carr * coerc_carr * UriManager.uri list) list val add_coercion: coerc_carr * coerc_carr * UriManager.uri -> unit @@ -56,3 +61,4 @@ val is_a_coercion: UriManager.uri -> bool val get_carr: UriManager.uri -> coerc_carr * coerc_carr val term_of_carr: coerc_carr -> Cic.term +