]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/grafite_engine/nCicCoercDeclaration.mli
fixed coercion mechanism w.r.t. undo/require
[helm.git] / helm / software / components / grafite_engine / nCicCoercDeclaration.mli
index 66698156857b6a51c1f8d91a445c8453cb906c5c..aee0e9fc390a4463e9681eb46a7d90e76043154a 100644 (file)
 
 (* evals a coercion declaration statement: name t ty (id,src) tgt *)
 val eval_ncoercion: 
-     GrafiteTypes.status as 'status ->
+   #GrafiteTypes.status as 'status ->
      string ->
      CicNotationPt.term ->
      CicNotationPt.term ->
      string * CicNotationPt.term ->
-     CicNotationPt.term -> 'status * [> `New of 'c list ]
+     CicNotationPt.term -> 'status * [> `New of NUri.uri list ]
 
 (* for records, the term is the projection, already refined, while the
  * first integer is the number of left params and the second integer is 
  * the arity in the `:arity>` syntax *)
-val basic_eval_and_inject_ncoercion_from_t_cpos_arity: 
-     (GrafiteTypes.status as 'status) ->
-       string * NCic.term * int * int -> 'status
+val basic_eval_and_record_ncoercion_from_t_cpos_arity: 
+   #GrafiteTypes.status as 'status ->
+     string * NCic.term * int * int -> 'status * [> `New of NUri.uri list ]