]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_refiner/nCicUnifHint.mli
Initial implementation of statuses using objects in place of nested records.
[helm.git] / helm / software / components / ng_refiner / nCicUnifHint.mli
index 21820ace4f98ca6a70f81bdf9227de790aa25633..f7257d8f8472c03978429f8d34700abc88e65421 100644 (file)
 
 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
+ end
 
-val add_user_provided_hint : db -> NCic.term -> int -> db 
+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 *