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