lama_byterun/regression/test101.lama

15 lines
200 B
Text
Raw Normal View History

2020-01-05 03:33:17 +03:00
fun f (x) {
fun inner1 (y) {
if y == 0 then 0 else inner2 (y-1) fi
}
fun inner2 (y) {
if y == 0 then 0 else inner1 (y-1) fi
}
inner1 (x)
}
local n = read ();
write (f (5))