]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/ng_refiner/nCicCoercion.mli
HUGE COMMIT:
[helm.git] / matita / components / ng_refiner / nCicCoercion.mli
index f2cd526822b1f5342bf95fd1a27b307934a18c6e..4f1fa4186af564daef4316cbfb69a75dd32ec95b 100644 (file)
@@ -19,11 +19,10 @@ class type g_status =
   method coerc_db: db
  end
 
-class status :
+class virtual status :
  object ('self)
-  inherit NCicUnifHint.status
   inherit g_status
-  method coerc_db: db
+  inherit NCicUnifHint.status
   method set_coerc_db: db -> 'self
   method set_coercion_status: #g_status -> 'self
  end
@@ -37,6 +36,9 @@ val index_coercion:
   #status as 'status -> string ->
    NCic.term -> NCic.term -> NCic.term -> int -> int -> 'status
 
+(* NOTE: the name of the coercion is used to sort coercions, thus 
+ * two coercions matching the same number of symbols are sorted 
+ * according to their name *)
 val look_for_coercion:
     #status ->
     NCic.metasenv -> NCic.substitution -> NCic.context ->