X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Flibrary%2FcoercDb.ml;h=3a4dac726783e0e6584a8a772efc8d7f1c7aaaa4;hb=d343c00b65aab7021e7e9a53bd52cd9b80d2c079;hp=25bdab18005033147bc31287db0fbfb8ba571f83;hpb=27ce29cfef1e71c00ee19d2c00c9f425f9efb031;p=helm.git diff --git a/components/library/coercDb.ml b/components/library/coercDb.ml index 25bdab180..3a4dac726 100644 --- a/components/library/coercDb.ml +++ b/components/library/coercDb.ml @@ -41,6 +41,10 @@ let coerc_carr_of_term t = Term t ;; +let uri_of_carr = function + | Uri u -> Some u + | _ -> None + let rec name_of_carr = function | Uri u -> UriManager.name_of_uri u | Sort s -> CicPp.ppsort s