lama_byterun/regression/test101.lama

15 lines
No EOL
198 B
Text

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)
}
var n = read ();
write (f (5))