How do you export a binary operator from a module?

It seems to work just fine with export:

julia> module A
         export ⊛
         ⊛(x, y) = x + y
       end
Main.A

julia> using .A

julia> 1 ⊛ 2
3

3 Likes