X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_refiner%2FnCicUnifHint.mli;h=7b8536ba77e98a937d161c4c6c88630fde4bded7;hb=bd3680d6b90f6c8bdda4eb4a915a86a0e806de63;hp=2e94d9c8d0d65b0642d8f0a6b127ae6fb20e8a03;hpb=f6d0c3cef604c7624ce2f361cbd6248d858d7ad5;p=helm.git diff --git a/helm/software/components/ng_refiner/nCicUnifHint.mli b/helm/software/components/ng_refiner/nCicUnifHint.mli index 2e94d9c8d..7b8536ba7 100644 --- a/helm/software/components/ng_refiner/nCicUnifHint.mli +++ b/helm/software/components/ng_refiner/nCicUnifHint.mli @@ -13,17 +13,22 @@ type db -val index_hint: - db -> NCic.context -> NCic.term -> NCic.term -> db +class status : + object ('self) + method uhint_db: db + method set_uhint_db: db -> 'self + method set_unifhint_status: < uhint_db : db; .. > -> 'self + end - (* gets the old imperative coercion DB *) -val db : unit -> db -val add_user_provided_hint : Cic.term -> unit +val index_hint: + #status as 'status -> NCic.context -> NCic.term -> NCic.term -> int -> 'status -val empty_db : db +val add_user_provided_hint : + #status as 'status -> NCic.term -> int -> 'status val look_for_hint: - db -> + #status -> NCic.metasenv -> NCic.substitution -> NCic.context -> NCic.term -> NCic.term -> - (NCic.metasenv * NCic.term * NCic.term) list + (NCic.metasenv * + (NCic.term * NCic.term) * (NCic.term * NCic.term) list) list