Setminus unicode operator


#1

I am trying to use the setminus unicode character as a function name but I get an error (julia 1.01).

 julia> ∖(A,B) = setdiff(A,B)
 ERROR: syntax: invalid character "∖"

  julia> (∖)(A,B) = setdiff(A,B)
 ERROR: syntax: invalid character "∖"

What am I doing wrong here?


#2

As far as I know, the only characters which can be used as identifiers or operators are the ones listed here: https://github.com/JuliaLang/julia/blob/master/src/julia-parser.scm


#3

It is discussed in this issue: https://github.com/JuliaLang/julia/issues/26361#issuecomment-371849427