Adding Unicode operators to D
KennyTM~
kennytm at gmail.com
Fri Oct 24 10:09:11 PDT 2008
Bruno Medeiros wrote:
> 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.
>
>
auto Ø = null; // \Ø
I assume you're not serious...
More information about the Digitalmars-d-announce
mailing list