Best article vote tally - WE HAVE TWO WINNERS!

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Jun 11 11:35:56 PDT 2011


On 6/11/11 1:39 PM, Timon Gehr wrote:
> On 11/06/2011 14:28, Alix Pexton wrote:
>> On 11/06/2011 14:00, Mafi wrote:
>>> Am 11.06.2011 14:33, schrieb Alix Pexton:
>>>>
>>>> It is by no means a final design, but perhaps a starting point, so
>>>> suggestions welcome.
>>>
>>> What about:
>>> /++ I wrote an article about D and all I got was ++/
>>> this.Lousy!T shirt;
>>>
>>> //d-programming-language.org
>>
>> I thought about that, I wasn't sure it would parse as valid D code><
>> [snip.]
>
> This would: (with minimal context)
> T shirt;
> struct T{
>      T lousy(T)(T arg){return arg;}
>      T submitArticle(Article){
>          return this.lousy!T(shirt);
>      }
> }
> struct Article{};
>
>
> Timon

We don't have (g|m)onads if we don't make it a range.

Andrei


More information about the Digitalmars-d mailing list