use new function syntax

This commit is contained in:
2025-12-20 20:46:06 +08:00
parent 946ef22849
commit ec1917665e
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
fun fib(x:Int) -> Int
func fib(x:Int) -> Int
{
if (x <= 1)
{

View File

@@ -1,5 +1,5 @@
var callCnt:Int = 0;
fun fib(x:Int) -> Int
func fib(x:Int) -> Int
{
callCnt = callCnt + 1;
if (x <= 1)