X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fng_refiner%2FnCicCoercion.mli;h=4f1fa4186af564daef4316cbfb69a75dd32ec95b;hb=b2a542079e4c3b8b122d74d48fe2fdf234f3684c;hp=ff6b439974c12f5dfc7b0eea9942629da09d9b93;hpb=2c01ff6094173915e7023076ea48b5804dca7778;p=helm.git diff --git a/matita/components/ng_refiner/nCicCoercion.mli b/matita/components/ng_refiner/nCicCoercion.mli index ff6b43997..4f1fa4186 100644 --- a/matita/components/ng_refiner/nCicCoercion.mli +++ b/matita/components/ng_refiner/nCicCoercion.mli @@ -13,20 +13,16 @@ type db -val set_convert_term: - (UriManager.uri -> Cic.term -> NCic.term * NCic.obj list) -> unit - class type g_status = object inherit NCicUnifHint.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 @@ -40,9 +36,9 @@ val index_coercion: #status as 'status -> string -> NCic.term -> NCic.term -> NCic.term -> int -> int -> 'status - (* gets the old imperative coercion DB (list format) *) -val index_old_db: CoercDb.coerc_db -> (#status as 'status) -> '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 ->