aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/Init/Tactics.v
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2016-07-18 10:30:17 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2016-07-18 10:30:17 +0200
commit8c7ecc85f5535e9d409d51087b1119fe1e61f0cb (patch)
treefedefe439e34481e80f8449346489ee939c4a937 /theories/Init/Tactics.v
parent898b0b84ffd37a8fdd64593fdf57bb13deb7e570 (diff)
Remove the swap tactic from the prelude.
It was anyway unusable due to a parsing conflict with the swap operator on goals. Was triggering a warning when compiling the prelude.
Diffstat (limited to 'theories/Init/Tactics.v')
-rw-r--r--theories/Init/Tactics.v6
1 files changed, 0 insertions, 6 deletions
diff --git a/theories/Init/Tactics.v b/theories/Init/Tactics.v
index a3eb91ec6..5d1e87ae0 100644
--- a/theories/Init/Tactics.v
+++ b/theories/Init/Tactics.v
@@ -55,12 +55,6 @@ Ltac contradict H :=
| _ => (elim H;fail) || pos H
end.
-(* Transforming a negative goal [ H:~A |- ~B ] into a positive one [ B |- A ]*)
-
-Ltac swap H :=
- idtac "swap is OBSOLETE: use contradict instead.";
- intro; apply H; clear H.
-
(* To contradict an hypothesis without copying its type. *)
Ltac absurd_hyp H :=