Is there any way to define a function accepting only tuples of fixed sizes, but different data types in them?
We can use something like this
f(x::NTuple{N}...) where {N} = ...
to enforce tuples of the same size (but with content of the same type), and something like this
f(x::Tuple...) = ...
to accept non-homogenous sequences (but variable in length).
Is there any way to achieve both simultaneously?