zip multimethod


zip(*args:Arr) Source: stdlib.ngs:2010
Make new array which aggregates elements from each of the args arrays n-th element of the new array is an array that contains n-th element of each of the given arrays If some of the arrays in args are shorter than others, they will be logically padded with null


Arr of form [[arg[0][0], arg[1][0], ... arg[i][0]], [arg[0][1], arg[1][1], ... arg[i][1]], ...]


zip([1,2,3], [4,5,6])  # [[1,4], [2,5], [3,6]]
zip([1,2,3], [4,5])    # [[1,4], [2,5], [3,null]]