Events in D

bitwise via Digitalmars-d digitalmars-d at puremagic.com
Tue Aug 29 06:10:17 PDT 2017


On Tuesday, 29 August 2017 at 08:05:48 UTC, Andrea Fontana wrote:
> On Tuesday, 29 August 2017 at 05:10:25 UTC, bitwise wrote:
>> [...]
>>         static if(op == "+")
>> [...]
>
> Maybe "~"? Usually "+" means "sum" not "add"/"concat".
> Anyway I remember that something similar was used on DFL [1]
>
> [1] http://www.dprogramming.com/dfl.php

True that "~" would be more D-like, but then "-" wouldn't make 
sense.

Also, DFL must be using a library implementation, which means 
it's limited as I've described above.


More information about the Digitalmars-d mailing list