]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_transformations/tacticAst.ml
added Undo/Redo commands
[helm.git] / helm / ocaml / cic_transformations / tacticAst.ml
index 3a74b3863b1cdd52c57b6b5d11408c384c45ee57..d063234d2bcd33a3728b662fdb5f00229a3abbd4 100644 (file)
@@ -79,17 +79,19 @@ type 'term command =
   | Check of 'term
   | Proof
   | Qed of string option
-      (* name.
+      (** name.
        * Name is needed when theorem was started without providing a name
        *)
   | Quit
   | Theorem of thm_flavour * string option * 'term * 'term option
-      (* flavour, name, type, body
+      (** flavour, name, type, body
        * - name is absent when an unnamed theorem is being proved, tipically in
        *   interactive usage
        * - body is present when its given along with the command, otherwise it
        *   will be given in proof editing mode using the tactical language
        *)
+  | Redo of int option
+  | Undo of int option
 
 type ('term, 'ident) tactical =
   | LocatedTactical of CicAst.location * ('term, 'ident) tactical