diff options
| author | Arnaud Spiwack | 2014-09-08 09:29:20 +0200 |
|---|---|---|
| committer | Arnaud Spiwack | 2014-09-08 10:58:22 +0200 |
| commit | d7072a91a9c40cf9a9cc6e6cdd087f925e591aec (patch) | |
| tree | 59abfc567a6d9270a3721c3fa5d66585dfdcaf08 /tactics | |
| parent | a1a792a0839d12c27164481c14282daf1bc900d3 (diff) | |
Add a tactic [revgoals] to reverse the list of focused goals.
Diffstat (limited to 'tactics')
| -rw-r--r-- | tactics/extratactics.ml4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tactics/extratactics.ml4 b/tactics/extratactics.ml4 index c90ec92d2b..4498c3197b 100644 --- a/tactics/extratactics.ml4 +++ b/tactics/extratactics.ml4 @@ -891,6 +891,11 @@ TACTIC EXTEND swap | [ "swap" int_or_var(i) int_or_var(j) ] -> [ Proofview.swap (out_arg i) (out_arg j) ] END +(* reverses the list of focused goals *) +TACTIC EXTEND revgoals +| [ "revgoals" ] -> [ Proofview.revgoals ] +END + type cmp = | Eq |
