On 28/08/2016 5:21 PM, 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.

Try Ÿ.
The character I have shown above will work as it is an alphabetic[0] character.

[0] http://dlang.org/phobos/std_uni.html#.isAlpha

Reply via email to