Zips four lists as the list of tuple.
The list used as the first element of tuple.
The zipped list.
const aList = fromArray([1, 4, 2]);const bList = fromArray([3, 5, 2]);const cList = fromArray([3, 8, 4, 7, 6]);const dList = fromArray([6, 2, 9, 8]);expect(toArray(zip4(aList)(bList)(cList)(dList))).toStrictEqual([ [1, 3, 3, 6], [4, 5, 8, 2], [2, 2, 4, 9],]); Copy
const aList = fromArray([1, 4, 2]);const bList = fromArray([3, 5, 2]);const cList = fromArray([3, 8, 4, 7, 6]);const dList = fromArray([6, 2, 9, 8]);expect(toArray(zip4(aList)(bList)(cList)(dList))).toStrictEqual([ [1, 3, 3, 6], [4, 5, 8, 2], [2, 2, 4, 9],]);
Zips four lists as the list of tuple.