]> 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 d85484a2a4d02959f2451bea524972c56b5fc152..4f1fa4186af564daef4316cbfb69a75dd32ec95b 100644 (file)
@@ -19,7 +19,7 @@ class type g_status =
   method coerc_db: db
  end
 
-class status :
+class virtual status :
  object ('self)
   inherit g_status
   inherit NCicUnifHint.status
@@ -36,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 ->