I am occasionally finding something like this useful:
struct Ignore{N,F}
f::F
Ignore{N}(f::F) where {N,F} = new{N,F}(f) # no checks etc, just an MWE
end
function (f::Ignore{N})(args::Vararg{Any,M}) where {N,M}
f.f(args[begin:begin+(N-2)]..., args[begin+N:end]...)
end
julia> Ignore{3}((x...,) -> x)(1:5...)
(1, 2, 4, 5)
so I am wondering if it would make sense to add this to Base to complement Fix.