The example code for std.stdio.readln does not compile. By changing 'readln(stdin...' to 'stdin.readln(...' the code below compiles: import std.stdio; void main() { char[] buf; while (stdin.readln(buf)) write(buf); return 0; }
Coming with 2.033.