Is it possible to do an efficient and elegant vectorized call on a function or struct by a single (or few) keyword arguments? Something like this
F(;x=10, y=20) = y + x
Base.@kwdef struct S
x = 10
y = 20
end
F.(y=1:20) # doesn't work
S.(y=1:20) # doesn't work
PS. I know I can do this in a for loop