#include "std/io.toc"; f ::= fn(x :: ..) int { total := 0; for a := x { total += a; } total }; main ::= fn() { puti(f(1,2,3)); puti(f(1,2,3,4,5,6)); puti(f(1,2,3,4)); };