pkg "io"; c_putchar :: fn(i32) = #foreign "putchar", "libc.so.6"; #export puts ::= fn(x: []char) { each c := x { c_putchar(c as i32); }; c_putchar('\n' as i32); };