Adding Unicode operators to D

Bruno Medeiros brunodomedeiros+spam at com.gmail
Fri Oct 24 09:52:03 PDT 2008


Simen Kjaeraas wrote:
> 
> As an example, while I'd enjoy seeing code like this, I'm not sure I'd 
> enjoy writing it (Note that I am prone to exaggerations):
> 
> int a = ∅; //empty set, same as "= void"
> int[] b = [1,2,3,4,5,6];
> a = readInt();


Hum, interesting example, it actually made me realize that 'null' would 
be an ideal candidate for having a Unicode symbol of it's own. Does 
anyone have suggestions for a possible one? Preferably somewhat 
circle-shaped.


-- 
Bruno Medeiros - Software Developer, MSc. in CS/E graduate
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D


More information about the Digitalmars-d-announce mailing list