Unicode function name? ∩

Tofu Ninja via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Aug 27 22:22:34 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
>
> I won't be terribly disappointed if I can't do this, I really 
> just tried it on a whim, but I thought dmd supported unicode.

Oddly enough bool π(A, B)(A a, B b) { ... } works just fine.


More information about the Digitalmars-d-learn mailing list