]> matita.cs.unibo.it Git - helm.git/blobdiff - components/library/coercDb.ml
added uri_of_carr
[helm.git] / components / library / coercDb.ml
index 25bdab18005033147bc31287db0fbfb8ba571f83..3a4dac726783e0e6584a8a772efc8d7f1c7aaaa4 100644 (file)
@@ -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