Oops, hit post too quickly. Can also be called infix: julia> 5 $ 7 17
On Wednesday, October 7, 2015 at 12:05:10 PM UTC-7, Seth wrote: > > Surround it by parens: > > julia> ($)(x::Int, y::Int) = x+y+5 > ... > julia> ($)(5,7) > 17 > > On Wednesday, October 7, 2015 at 11:39:03 AM UTC-7, cheng wang wrote: >> >> Hello everyone, >> >> I try to do $(x,y)=something, it says: syntax: invalid assignment >> location >> while +(x,y)=something is ok. >> >> Is there any speciality of $ operator? >> >> Best, >> Cheng >> >
