Trying to write a recursive function that adds successive pairs in a vector.
[1 2 3 4] => [3 5 7]
Pretty much stuck and this is what I h
Here is another possible solution:
(def tmp [1 2 3 4]) (map + tmp (rest tmp))