tdpl: function literals versus delegate lierals

2012-01-19 Thread Jerome BENOIT
Hello List: On my box, the following D source, inspired by the subsection 5.6.1 of tDpl, does not work as expected: - // adhoc_06.d import std.stdio; unittest { // Tersest, most convenient code auto f = (int i)

Re: tdpl: function literals versus delegate lierals

2012-01-19 Thread Timon Gehr
On 01/19/2012 05:41 PM, Jerome BENOIT wrote: Hello List: On my box, the following D source, inspired by the subsection 5.6.1 of tDpl, does not work as expected: - // adhoc_06.d import std.stdio; unittest { // Tersest, most

Re: tdpl: function literals versus delegate lierals

2012-01-19 Thread bearophile
Timon Gehr: I am not very happy about this particular quirk of is expressions: I'd like to see is expressions a bit re-designed instead of SIMDs added to DMD :-| Bye, bearophile

Re: tdpl: function literals versus delegate lierals

2012-01-19 Thread Manfred Nowak
bearophile wrote: instead of SIMDs added Most delevopers at the same time like to turf their old errors and are keen to do something knew. -manfred