How can I connect to multiple datasets? Ultimately, I want to achieve something similar:
const data = [{id: 1, data:100}, {id: 2, data: 200}, {id: 3, data: 3000}, ... ]
I tried this but did not work:
pipe( map(assoc('data', __, {})), map(assoc('id', multiply(100, prop('data', __)))) )(range(1, 1000))
If the approach is to use two pipes, then there must be some way to connect two different arrays at the same time. How can this be implemented?
source share