[Issue 8452] if lambda function can be template?

2014-08-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8452 --- Comment #4 from galaxylang galaxyl...@gmail.com --- i want to say,template delegate/function and type deduce can be mix, for example alias f2=(x,y)=x+y; alias f1=f2(1);//here,use alias syntax will be impossible or need more handwrite but if we

[Issue 8452] if lambda function can be template?

2014-07-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8452 --- Comment #2 from galaxylang galaxyl...@gmail.com --- as you can see autolam3 =(x,y)=x+y; lam3(1,2) lam3 like a named variable,but it really don't save anything,just some info can be deduced from complier,so it's just a alias aliaslam3

[Issue 8452] if lambda function can be template?

2014-07-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8452 --- Comment #3 from Martin Nowak c...@dawg.eu --- (In reply to galaxylang from comment #2) as you can see auto lam3 =(x,y)=x+y; lam3(1,2) lam3 like a named variable,but it really don't save anything,just some info can be deduced from

[Issue 8452] if lambda function can be template?

2014-07-04 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8452 Martin Nowak c...@dawg.eu changed: What|Removed |Added Status|NEW |RESOLVED CC|