The most twisted D code (you've) ever written

Matti Niemenmaa see_signature at for.real.address
Fri Oct 12 08:22:26 PDT 2007


Radu wrote:
> Myron Alexander wrote:
>> downs wrote:
>>> ([&update]~([1, 2] /map/ (int e) { return &prefetch /fix/ (currentStrip
>>> + e); })) /map/ &Pool.addTask;
>>
>> What is /map/ and /fix/? Are these valid D constructs? If so, where in
>> the language spec are they as I am very interested in learning more.
>>
> most likely they are comments; probably striped away by the email client.

They are data types with a defined opDiv and opDiv_r.

See http://paste.dprogramming.com/dpiialjm for something similar.

And that, my friends, defines cool.

-- 
E-mail address: matti.niemenmaa+news, domain is iki (DOT) fi



More information about the Digitalmars-d mailing list