digitalmars.D.bugs - [Issue 8782] New: D lexer do not understand unicode char … for variadic
- d-bugmail puremagic.com (29/29) Oct 08 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8782
- d-bugmail puremagic.com (16/32) Oct 08 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8782
- d-bugmail puremagic.com (13/13) Oct 08 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8782
- d-bugmail puremagic.com (16/16) Oct 08 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8782
http://d.puremagic.com/issues/show_bug.cgi?id=8782 Summary: D lexer do not understand unicode char … for variadic Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bioinfornatics gmail.com 04:31:10 PDT --- D lexer do not understand unicode char … for variadic. from some keayboard layout is faster to write … than ... ________________________________________ import std.stdio; import std.algorithm; import std.array; void main( ){ immutable int[] a = [4, 6, 1, 2,]; immutable int[] b = cast(immutable) a.dup .sort!( (x,y) => x < y ) .array; writeln( b ); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 08 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8782 04:32:24 PDT ---D lexer do not understand unicode char … for variadic. from some keayboard layout is faster to write … than ... ________________________________________ import std.stdio; import std.algorithm; import std.array; void main( ){ immutable int[] a = [4, 6, 1, 2,]; immutable int[] b = cast(immutable) a.dup .sort!( (x,y) => x < y ) .array; writeln( b ); }oops bad paste sorry ________________________________________ import std.stdio; void foo( int[] params … ){ foreach( param; params ) writeln( praram ); } void main(){ foo( 1, 2, 3, 4 ); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 08 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8782 bearophile_hugs eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_hugs eml.cc The idea of using unicode glyphs in source code is interesting, and I think the now dead Fortress shows it's useful if done well. But introducing such change in D, and requiring a smart editor, just for a single symbol is a bit too much for too much little. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 08 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8782 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |WONTFIX Severity|normal |enhancement 08:02:16 PDT --- I agree with bearophile. While D is a fully unicode language, the rest of the programming ecosystem is not there yet, and it would just be grief to make such changes now. Maybe in 10 years. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 08 2012