On 03/29/2013 09:57 AM, kenji hara wrote:
http://wiki.dlang.org/DIP32
Kenji Hara
One quite ugly thing about this is that function arguments will be a
distinct, incompatible and underpowered form of packing together and
unpacking multiple values.
auto foo(int a, int b){ } // unpacking
void main(){
foo(1,2); // packing
}
Ideal for UFCS would be:
{a,b}.zip.map!({x,y}=>x+y);
It is therefore likely that people will start to write two overloads,
where one takes multiple arguments and the other takes one tuple argument.