lama_byterun/regression/test069.lama

11 lines
138 B
Text
Raw Normal View History

fun f (x) {
fun inner (y) {
return if y == 0 then 0 else inner (y-1) fi
}
return inner (x)
}
local n = read ();
write (f (5))