[Issue 5081] Pure functions as initializers for immutable structures

2011-08-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5081 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 5081] Pure functions as initializers for immutable structures

2011-08-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5081 --- Comment #5 from bearophile_h...@eml.cc 2011-08-24 20:31:58 PDT --- This is a new part of the design of D purity, and a significant improvement for D usability. I think the behaviours shown by this little program are correct, but I think

[Issue 5081] Pure functions as initializers for immutable structures

2011-08-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5081 --- Comment #6 from bearophile_h...@eml.cc 2011-08-24 20:51:28 PDT --- (In reply to comment #5) I think the behaviours shown... Sorry, that was out of place in this enhancement request. I have opened bug 6553 for it. -- Configure

[Issue 5081] Pure functions as initializers for immutable structures

2011-07-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5081 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords||patch CC|

[Issue 5081] Pure functions as initializers for immutable structures

2011-02-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5081 --- Comment #2 from Steven Schveighoffer schvei...@yahoo.com 2011-02-24 12:47:49 PST --- (In reply to comment #0) Michel Fortin also noticed a nice-to-have: if at the call site you know that all the arguments you're feeding the function

[Issue 5081] Pure functions as initializers for immutable structures

2010-10-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5081 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---