]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/library/coercDb.mli
- components: composed coercions mus be generated with current base uri
[helm.git] / helm / software / components / library / coercDb.mli
index 1f5df89334352f3a299d5ee83ec8f044005c68a3..d8a8b0574de506f222da61acfb073f9074723896 100644 (file)
@@ -36,16 +36,19 @@ 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 -> 
-    (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