@Kha The transition has begun :) I found and fixed a few bugs, but it is going well so far.
13 lines
242 B
Text
13 lines
242 B
Text
new_frontend
|
|
|
|
@[noinline] def f (x : Nat) :=
|
|
1000000000000000000000000000000
|
|
|
|
@[noinline] def tst1 (n : Nat) : IO Unit := do
|
|
IO.println (n * f n)
|
|
|
|
@[noinline] def tst2 (n : Nat) : IO Unit := do
|
|
IO.println (f n * n)
|
|
|
|
#eval tst1 0
|
|
#eval tst2 0
|