Say we can write something like this:
zipWith (,) [1,2,3] [4,5,6]
If we want to copy 3 lists, we can write: zipWith3 (,) [1,2,3] [4,5,6] [7,8,9]
We can also use zipWith4 (,,,) zipWith5(,,,,) , etc.
Now I want to do the same, but by adding a comma operator instead. Is there a way to define it in the same way without using lambdas, as in
zipWith3 (\abc -> a + b + c) [1, 2, 3] [4, 5, 6] [7, 8, 9]
Thanks in advance for any response.