feat: ppTactic
This commit is contained in:
parent
5e46c0865e
commit
146aefd085
1 changed files with 3 additions and 0 deletions
|
|
@ -50,6 +50,9 @@ def ppConst (e : Expr) : MetaM Format := do
|
|||
def ppExprLegacy (env : Environment) (mctx : MetavarContext) (lctx : LocalContext) (opts : Options) (e : Expr) : IO Format :=
|
||||
Prod.fst <$> ((ppExpr e).run' { lctx := lctx } { mctx := mctx }).toIO { options := opts, fileName := "<PrettyPrinter>", fileMap := default } { env := env }
|
||||
|
||||
def ppTactic (stx : Syntax) : CoreM Format :=
|
||||
parenthesizeTactic stx >>= formatTactic
|
||||
|
||||
def ppCommand (stx : Syntax) : CoreM Format :=
|
||||
parenthesizeCommand stx >>= formatCommand
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue