X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fng_refiner%2FnCicCoercion.mli;h=4f1fa4186af564daef4316cbfb69a75dd32ec95b;hb=48c011f52853dd106dbf9cbbd1b9da61277fba3b;hp=d85484a2a4d02959f2451bea524972c56b5fc152;hpb=29e65035d698f11ab4d3a627f8b9b6027f1f20d5;p=helm.git diff --git a/matita/components/ng_refiner/nCicCoercion.mli b/matita/components/ng_refiner/nCicCoercion.mli index d85484a2a..4f1fa4186 100644 --- a/matita/components/ng_refiner/nCicCoercion.mli +++ b/matita/components/ng_refiner/nCicCoercion.mli @@ -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 ->