These are chat archives for ramda/ramda

22nd
Jul 2018
Ben Briggs
@ben-eb
Jul 22 2018 11:05
@nfantone If your lists are sorted, you could use zipWith:
compose(
  apply(zipWith(merge)),
  props(['foos', 'details']),
  evolve({
    details: map(objOf('detail'))
  })
)({
   foos: [{ id: 1 }, { id: 2 }],
   details: [{ fooId: 1, bar: true }, { fooId: 2, bar: false }]
})