title: Ramda.js: Arguments to list
body: <p>Trying to figure out Ramda here. Does Ramda have a method to turn arguments to a list? E.g:</p>
  
  <pre><code>R.argumentsToList(1)(2) =&gt; [1, 2]
  </code></pre>
  
  <p>The problem that I'm actually facing is that my function is passed 2 arguments and I need to work with both arguments, yet <code>R.compose</code> only allows the rightmost function to work with multiple arguments. Turning my arguments to a list would allow me to bypass this - or would that be a bad approach?</p>
  
  <p><strong>Practical problem:</strong> I want to pass 2 strings into my function. Those should be turned into a merged object, e.g:</p>
  
  <pre><code>f('firstString', 'second') =&gt; {firstString: 'firstString', second: 'second'}
  </code></pre>
  
  <p>I know that I can use <code>R.merge</code> and <code>R.objOf</code>, but I don't know how to handle and work with the 2 arguments that are passed to the function.</p>