aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2011-08-10 19:20:34 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2011-08-10 19:20:34 +0000
commit1d6ad11aa4916c4caa3d49da12a14e39b000b978 (patch)
treedc2f16d7d708e6e9b858eff89a4c010bce95f246
parent6386a0c15e74d5f5c3f989566203ad941ea6cd5d (diff)
Exported tactic intro_then
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14403 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--tactics/tactics.ml1
-rw-r--r--tactics/tactics.mli1
2 files changed, 2 insertions, 0 deletions
diff --git a/tactics/tactics.ml b/tactics/tactics.ml
index 71ac43c74..92addc646 100644
--- a/tactics/tactics.ml
+++ b/tactics/tactics.ml
@@ -427,6 +427,7 @@ let rec intro_then_gen loc name_flag move_flag force_flag dep_flag tac gl =
let intro_gen loc n m f d = intro_then_gen loc n m f d (fun _ -> tclIDTAC)
let intro_mustbe_force id = intro_gen dloc (IntroMustBe id) no_move true false
let intro_using id = intro_gen dloc (IntroBasedOn (id,[])) no_move false false
+let intro_then = intro_then_gen dloc (IntroAvoid []) no_move false false
let intro = intro_gen dloc (IntroAvoid []) no_move false false
let introf = intro_gen dloc (IntroAvoid []) no_move true false
let intro_avoiding l = intro_gen dloc (IntroAvoid l) no_move false false
diff --git a/tactics/tactics.mli b/tactics/tactics.mli
index e148c5a2d..a83e494f5 100644
--- a/tactics/tactics.mli
+++ b/tactics/tactics.mli
@@ -69,6 +69,7 @@ val intro_avoiding : identifier list -> tactic
val intro_replacing : identifier -> tactic
val intro_using : identifier -> tactic
val intro_mustbe_force : identifier -> tactic
+val intro_then : (identifier -> tactic) -> tactic
val intros_using : identifier list -> tactic
val intro_erasing : identifier -> tactic
val intros_replacing : identifier list -> tactic