Since - as I understand it - the new broadcast sugar is the new way of computing the element-wise value of a function I wonder what the plan is with the special vectorized versions, such as
sin(::Vector) for example. Is the plan that they will continue to work as is or are there thoughts about repurposing the signature?
I am asking because I contemplate how to go about this with LossFunctions.jl and I do try to keep things “julian”. Personally, at least for my use-case, I am considering making the special old version return a generator expression (in the lines of
(sin(x[i]) for i in eachindex(x)) to go with the sinus example), which would allow me in my use-case to do
mean(sin(x)), which for loss functions would be quite nice. So maybe my second question, if you grand me this little digression, is that something that would be considered un-julian?