It seems to be possible to define all sorts of binary infix operators, like ∨, ⋖, ⋗, ⊴
work fine.
But why can’t I assign ↗, ↖
as binary infix operators? they are \nearrow
and \nwarrow
.
For example, in my Dendriform.jl package:
julia> [1,2,3] ⋖ [1,3,1]
true
julia> [1,2,3] ↗ [3,2,1]
ERROR: syntax: extra token "↗" after end of expression
Stacktrace:
[1] macro expansion at ./REPL.jl:97 [inlined]
[2] (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:73