chore(lean/typeclass): 'synth_command' -> 'synthCommand'
This commit is contained in:
parent
710b115885
commit
e071501342
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ namespace TypeClass
|
|||
|
||||
/- Entry point for the `#synth` command used for testing. -/
|
||||
@[export lean_typeclass_synth_command]
|
||||
def synth_command (env : Environment) (goalType : Expr) : ExceptT String Id Expr :=
|
||||
def synthCommand (env : Environment) (goalType : Expr) : ExceptT String Id Expr :=
|
||||
match (synth goalType).run { env := env } with
|
||||
| EState.Result.ok val _ => pure val
|
||||
| EState.Result.error msg _ => throw msg
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue