Random Suggestion: Swap Operator <=>?

Simen Kjaeraas simen.kjaras at gmail.com
Sun Jul 19 07:04:16 PDT 2009


Michiel Helvensteijn wrote:

> I have a swap operator in my new programming language:
>
> x <-> y;
>
> It's syntactically consistent with the assignment operator:
>
> x <- E;

Clearly, this should be generalized to allow both right-to-left and  
left-to-right assignment. :p

-- 
   Simen



More information about the Digitalmars-d mailing list