lama_byterun/regression/test059.expr

22 lines
187 B
Text
Raw Normal View History

fun f (l) {
case l of
{} -> skip
| h : tl -> h (); f (tl)
esac
}
fun a () {
write (0)
}
fun b () {
write (1)
}
fun c () {
write (2)
}
2019-10-16 01:13:52 +03:00
local x = read ();
f ({a, b, c})