X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Flibrary%2FcoercDb.mli;h=5f455c2af97dd6146bddeebd64c0f281ce0b6334;hb=6bb370c6e1a036e82315765d6dceb1939c30ed23;hp=95dd96c0b18a2fd9a3849a8b707b74b1e1a7e38a;hpb=27ce29cfef1e71c00ee19d2c00c9f425f9efb031;p=helm.git diff --git a/components/library/coercDb.mli b/components/library/coercDb.mli index 95dd96c0b..5f455c2af 100644 --- a/components/library/coercDb.mli +++ b/components/library/coercDb.mli @@ -36,12 +36,15 @@ type coerc_carr = | Uri of UriManager.uri (* const, mutind, mutconstr *) | Sort of Cic.sort (* Prop, Set, Type *) | Term of Cic.term (* nothing supported *) + | Fun of int +;; 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 -> @@ -57,6 +60,8 @@ val find_coercion: (coerc_carr * coerc_carr -> bool) -> UriManager.uri list val is_a_coercion: UriManager.uri -> bool +val is_a_coercion': Cic.term -> bool +val is_a_coercion_to_funclass: Cic.term -> int option val get_carr: UriManager.uri -> coerc_carr * coerc_carr val term_of_carr: coerc_carr -> Cic.term