chore: fix benchmark
This commit is contained in:
parent
b1b5460c4b
commit
b856553b4f
1 changed files with 3 additions and 4 deletions
|
|
@ -2,8 +2,7 @@ import Lean.Parser
|
|||
|
||||
def main : List String → IO Unit
|
||||
| [fname, n] => do
|
||||
env ← Lean.mkEmptyEnvironment;
|
||||
n.toNat!.forM $ fun _ =>
|
||||
discard $ Lean.Parser.parseFile env fname;
|
||||
pure ()
|
||||
let env ← Lean.mkEmptyEnvironment
|
||||
for _ in [0:n.toNat!] do
|
||||
discard $ Lean.Parser.parseFile env fname
|
||||
| _ => throw $ IO.userError "give file"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue