lama_byterun/lama-compiler/regression/test061.lama

11 lines
No EOL
122 B
Text

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