fork download
  1. import std.stdio;
  2.  
  3. void main()
  4. {
  5. auto x = (a,b) => a+b;
  6. writeln(x(3,5));
  7. }
  8.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.d(5): expression expected, not '>'
prog.d(5): semicolon expected following auto declaration, not 'a'
stdout
Standard output is empty