title: Ramda.js - How to make R.merge point free - 2 functions with same dataset
body: <p>Given the below code snippet that uses Ramda.js, are there multiple ways of making <code>parseDetails</code> point free? If so, is there an &quot;ideal&quot; way of doing it?</p>
  <pre class="lang-js prettyprint-override"><code>const someData = {
    products: [{
      stockId: 123,
      name: &quot;chocolate&quot;,
      translatedTags: {
        wasPrice: &quot;Was 10&quot;
      }
    }]
  }
  
  
  const getProductData = R.pipe(
    R.pathOr([], ['products', 0]),
    R.pick([
      'stockId',
      'name']
    )
  );
  
  
  const getProductTags = R.pipe(
    R.pathOr([], ['products', 0, 'translatedTags'])
  );
  
  
  const parseDetails = (data) =&gt; R.merge(
    getProductData(data),
    getProductTags(data)
  );
  
  parseDetails(someData);
  </code></pre>