Vectorizing negation?

julia> v = (1,2,3)
(1, 2, 3)

julia> .-v
(-1, -2, -3)

julia> (-).(v)
(-1, -2, -3)
8 Likes