touching up the header files

This commit is contained in:
2025-09-30 01:00:39 +09:00
parent 50c1d63ef4
commit 78f43c8b4f
5 changed files with 58 additions and 27 deletions

View File

@ -149,7 +149,7 @@ if (== v 9) { printf "OK - %d\n" v } else { printf "ERROR - %d, not 9\n" v }
## ----------------------------------------
fun sum (x) {
if (< x 2) 1 else { core.+ x (sum (- x 1)) }
if (core.< x 2) 1 else { core.+ x (sum (core.- x 1)) }
}
v := (sum 10)
if (== v 55) { printf "OK - %d\n" v } else { printf "ERROR - %d, not 55\n" v }