chore: add evalSeq1
This commit is contained in:
parent
23f7a4b435
commit
fba1571fdf
1 changed files with 3 additions and 1 deletions
|
|
@ -246,8 +246,10 @@ modifyMCtx fun mctx =>
|
|||
@[builtinTactic seq] def evalSeq : Tactic :=
|
||||
fun stx => (stx.getArg 0).forSepArgsM evalTactic
|
||||
|
||||
@[builtinTactic seq1] def evalSeq1 : Tactic := evalSeq
|
||||
|
||||
@[builtinTactic paren] def evalParen : Tactic :=
|
||||
fun stx => evalTactic (stx.getArg 1)
|
||||
fun stx => evalSeq1 (stx.getArg 1)
|
||||
|
||||
@[builtinTactic tacticSeqBracketed] def evalTacticSeqBracketed : Tactic :=
|
||||
fun stx => withRef (stx.getArg 2) $ focus $ (stx.getArg 1).forSepArgsM evalTactic
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue