]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaEngine.mli
merged cic_notation with matita: good luck!
[helm.git] / helm / matita / matitaEngine.mli
index 7ceb965e9959c68e5ca8404dda60481039515abd..6b9f235cd6ad6628d20aaa6632f0633a237a9585 100644 (file)
@@ -26,6 +26,9 @@
 exception Drop
 exception UnableToInclude of string
 
+type statement =
+  (CicNotationPt.term, GrafiteAst.obj, string) GrafiteAst.statement
+
 (* heavy checks slow down the compilation process but give you some interesting
  * infos like if the theorem is a duplicate *)
 val eval_string:
@@ -37,23 +40,21 @@ val eval_from_stream:
   ?do_heavy_checks:bool ->
   ?include_paths:string list ->
   MatitaTypes.status ref -> char Stream.t -> 
-    (MatitaTypes.status ->
-    (CicAst.term,TacticAst.obj,string) TacticAst.statement -> unit) ->
+  (MatitaTypes.status -> statement -> unit) ->
     unit
 
 val eval_from_stream_greedy: 
   ?do_heavy_checks:bool ->
   ?include_paths:string list ->
   MatitaTypes.status ref-> char Stream.t -> 
-    (MatitaTypes.status ->
-    (CicAst.term,TacticAst.obj,string) TacticAst.statement -> unit) ->
+  (MatitaTypes.status -> statement -> unit) ->
     unit
 
 val eval_ast: 
   ?do_heavy_checks:bool ->
   ?include_paths:string list ->
   MatitaTypes.status ->
-    (CicAst.term,TacticAst.obj,string) TacticAst.statement ->
+    statement ->
     MatitaTypes.status
 
 val initial_status: MatitaTypes.status lazy_t