]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_refiner/nCicCoercion.mli
ok, but slow on includes
[helm.git] / helm / software / components / ng_refiner / nCicCoercion.mli
index dc62cb86d032955700e3d173fc414213a0aaf019..dd5820eb92d8064b8f00ab3419a8ecbb9a0e0015 100644 (file)
@@ -28,7 +28,7 @@ val empty_db: db
    index_coercion db c A B \arity_left(c ??x??) \position(x,??x??) 
 *)
 val index_coercion: 
-  #status as 'status ->
+  #status as 'status -> string ->
    NCic.term -> NCic.term -> NCic.term -> int -> int -> 'status
 
   (* gets the old imperative coercion DB (list format) *)
@@ -39,13 +39,13 @@ val 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
+      (* name, enriched metasenv, new term, its type, metavriable to
        * be unified with the old term *)
-      (NCic.metasenv * NCic.term * NCic.term * NCic.term) list
+      (string * NCic.metasenv * NCic.term * NCic.term * NCic.term) list
 
 (* returns (coercion,arity,arg) *)
 val match_coercion:
  #status -> metasenv:NCic.metasenv -> subst:NCic.substitution ->
   context:NCic.context -> NCic.term -> (NCic.term * int * int) option
 
-val generate_dot_file: #status -> string
+val generate_dot_file: #status -> Format.formatter -> unit