fix: repeat conv should not auto-close the goal

This commit is contained in:
Mario Carneiro 2023-07-25 14:16:55 -04:00 committed by Mac
parent 53477089fe
commit 776bff1948

View file

@ -286,7 +286,7 @@ macro:1 x:conv tk:" <;> " y:conv:0 : conv =>
/-- `repeat convs` runs the sequence `convs` repeatedly until it fails to apply. -/
syntax "repeat " convSeq : conv
macro_rules
| `(conv| repeat $seq) => `(conv| first | ($seq); repeat $seq | rfl)
| `(conv| repeat $seq) => `(conv| first | ($seq); repeat $seq | skip)
/--
`conv => ...` allows the user to perform targeted rewriting on a goal or hypothesis,