Skip to content
Snippets Groups Projects
Commit b5f67e55 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Fix weird comment.

parent 2ce7480c
No related branches found
No related tags found
No related merge requests found
Pipeline #26452 passed
...@@ -432,9 +432,9 @@ Ltac intros_revert tac := ...@@ -432,9 +432,9 @@ Ltac intros_revert tac :=
| |- _ => tac | |- _ => tac
end. end.
(** Given a tactic [tac2] generating a list of terms, [iter tac1 tac2] (** The tactic [iter tac l] runs [tac x] for each element [x ∈ l] until [tac x]
runs [tac x] for each element [x] until [tac x] succeeds. If it does not succeeds. If it does not suceed for any element of the generated list, the whole
suceed for any element of the generated list, the whole tactic wil fail. *) tactic wil fail. *)
Tactic Notation "iter" tactic(tac) tactic(l) := Tactic Notation "iter" tactic(tac) tactic(l) :=
let rec go l := let rec go l :=
match l with ?x :: ?l => tac x || go l end in go l. match l with ?x :: ?l => tac x || go l end in go l.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment