On Friday, 29 March 2013 at 08:58:06 UTC, kenji hara wrote:
http://wiki.dlang.org/DIP32Kenji Hara
I'm not sure if this is off topic or redundant but couldn't many of these things be added to the standard library without a special syntax. for instance s function like unpack could allow
import std.typecons;
int a;
char b ;
unpack(a,b) = tuple(5, 'A');
assert(a==5 && b=='A');
instead 0f
(int a, char b) = (5,'A');
or whatever.
Would this help the problem?
