title: Converting multi-parameter function to point-free style using Ramda
body: <p>Using <a href="http://ramdajs.com/" rel="nofollow noreferrer">Ramda</a>, I am trying to convert a fairly large function into a point-free, both for educational and stylistic reasons.</p>
  
  <p>The function takes 4 arguments, an ES6 <strong>map</strong>, a <strong>domainModel</strong> function that takes an object and returns an object, a <strong>key</strong> property to identify what is being set on the map, and a <strong>json</strong> property that is set on the map after being invoked by <strong>domainModel.</strong></p>
  
  <pre><code>const setNewDomainModelOnMap = curry((map, domainModel, key, json) =&gt; map.set(key, domainModel(json)));
  </code></pre>
  
  <p>Right now, I've curried the function for some functional goodness, but I'd like to work with a parameter free version if possible. I've successfully gone point-free style on functions with less parameters, can't quite figure out the right angle to approach this one. </p>