Skip Menu |

This queue is for tickets about the List-MoreUtils CPAN distribution.

Report information
The Basics
Id: 90122
Status: new
Priority: 0/
Queue: List-MoreUtils

People
Owner: Nobody in particular
Requestors: blue [...] thisisnotmyrealemail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.