title: How to curry a function across an unknown number of parameters
body: <p>Say I have a function called <code>multiplyDivide</code></p>
  
  <p>If I were to call <code>multiplyDivide(2)(3)(4)(6)</code> it would be equivalent to <code>2 * 3 / 4 * 6</code>.</p>
  
  <p><strong>Update:</strong>
  Is it possible to write a function like this if I don't know in advance how many parameters I will be taking? For example, I could have <code>multiplyDivide(1)(2)</code> or <code>multiplyDivide(1)(2)(3)(4)...(n-1)(n)</code></p>