feat: eval paren tactic
This commit is contained in:
parent
65f004ebcd
commit
2e6ac0cd61
1 changed files with 3 additions and 0 deletions
|
|
@ -280,6 +280,9 @@ fun stx => match_syntax stx with
|
|||
setGoals (gs' ++ gs)
|
||||
| _ => throwUnsupportedSyntax
|
||||
|
||||
@[builtinTactic paren] def evalParen : Tactic :=
|
||||
fun stx => evalTactic (stx.getArg 1)
|
||||
|
||||
@[builtinTactic nestedTacticBlock] def evalNestedTacticBlock : Tactic :=
|
||||
fun stx => focus stx (evalTactic (stx.getArg 1))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue