Example 1 — Official concat
Unique keys a and b are kept. Matching values arrays join.
R.mergeWith(R.concat,
{ a: true, values: [10, 20] },
{ b: true, values: [15, 35] }
);
//=> { a: true, b: true, values: [10, 20, 15, 35] } How It Works
Left keys are copied first. values exists on both sides, so R.concat runs. Then right-only b is added. That is the docs example from ramdajs.com.
