]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_refiner/nCicRefiner.mli
coercions are there, but not heavily tested
[helm.git] / helm / software / components / ng_refiner / nCicRefiner.mli
index 9b10e3448cc05cbe52286639678525cc7d28e703..7414770807cd2dde41355286ce4b8150cc90ba2e 100644 (file)
@@ -17,6 +17,14 @@ exception AssertFailure of string Lazy.t;;
 
 val typeof :
  ?localise:(NCic.term -> Stdpp.location) ->
+ look_for_coercion:(
+    NCic.metasenv -> NCic.substitution -> NCic.context -> 
+    (* inferred type, expected type *)
+    NCic.term -> NCic.term -> 
+      (* enriched metasenv, new term, its type, metavriable to
+       * be unified with the old term *)
+      (NCic.metasenv * NCic.term * NCic.term * NCic.term) list
+  ) ->
   NCic.metasenv -> NCic.substitution -> NCic.context -> 
   NCic.term -> NCic.term option -> (* term, expected type *)
     NCic.metasenv * NCic.substitution * NCic.term * NCic.term