That seems to work with keyword arguments just fine:
julia> f(x,y...;z=3) = println(x,y,z)
f (generic function with 1 method)
julia> f(1,2,3,z=4)
1(2, 3)4
That seems to work with keyword arguments just fine:
julia> f(x,y...;z=3) = println(x,y,z)
f (generic function with 1 method)
julia> f(1,2,3,z=4)
1(2, 3)4
I meant an optional positional argument, but switching to a keyword argument is easy enough.