Subject: | add tuples/each_tuple/tupplewise to deal with inconsistency between natatime and mesh/each_array/pairwise |
When the input lists contain different number of elements, (mesh, each_array, pairwise) will return undef for the values of any missing element at that end of the lists. But natatime does not, as the example in the docs shows, it will only return 1 element if you ask for 3 and there is only 1 element remaining.
I propose a new set of functions, (tuples, each_tuple, tupplewise)that would operate like (mesh, each_array, pairwise), but will stop iterating when the smallest list is fully consumed, instead of adding undef placeholder elements.