Let’s say a function
f() involves another function with multiple arguments. From what I understood, one can avoid listing them with with the
kwargs... argument that “passes” the optional arguments down to the other functions.
function f(x; kwargs...) g(x; kwargs...) end
Is it possible to setup something similar but when two functions are involved, and smartly dispatch appropriate arguments to each function.
function f(x; kwargs...) y = g(x; kwargs...) z = h(y; kwargs...) end
Currently, it would throw a MethodError as some of the kwargs of
g() do not exist for