type db
-val index_hint:
- db -> NCic.context -> NCic.term -> NCic.term -> int -> 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 -> int -> 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