Unicode function name? ∩

Jesper Tholstrup via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 29 05:53:26 PDT 2016


On Sunday, 28 August 2016 at 05:21:03 UTC, Tofu Ninja wrote:
> Are unicode function names not supported in dmd?
> bool ∩(A, B)(A a, B b){
> 	return intersect(a, b);
> }
> Error: character 0x2229 is not a valid token
>

Personally, I would prefer 'intersect' as a function name over 
'∩' anytime.

Which benifits does the symbols add?





More information about the Digitalmars-d-learn mailing list