Reputation: 1797
If I have the array data
and the array of functions [fn1, fn2, fn3]
, what's the right way with Ramda to get
[fn1(data[0]), fn2(data[1], fn3(data[2]), ...]
Basically, I want to call each function with the value that shares an array index in the data
as its parameter, and get an array of the results.
Upvotes: 1
Views: 678