I have three lists [a1 a2 a3 a4][b1 b2 b3 b4][c1 c2 c3 c4]
I want to create a new list by adding elements of each list
Result: [a1+b1+c1 a2+b2+c2 a3+b3+c3 a4+b4+c4]
I have three lists [a1 a2 a3 a4][b1 b2 b3 b4][c1 c2 c3 c4]
I want to create a new list by adding elements of each list
Result: [a1+b1+c1 a2+b2+c2 a3+b3+c3 a4+b4+c4]
Checkout map
:
(map [ [a b c] -> a + b + c ] list1 list2 list3)