Zips two lists by zipper. Or this lifts zipper onto List.
zipper
List
The zipped list.
const aList = fromArray([1, 4, 2]);const bList = fromArray([3, 5, 2]);const zipped = zipWith((a: number) => (b: number) => a * b)(aList)(bList);expect(toArray(zipped)).toStrictEqual([3, 20, 4]); Copy
const aList = fromArray([1, 4, 2]);const bList = fromArray([3, 5, 2]);const zipped = zipWith((a: number) => (b: number) => a * b)(aList)(bList);expect(toArray(zipped)).toStrictEqual([3, 20, 4]);
Zips two lists by
zipper. Or this liftszipperontoList.