title: Splitting a tuple inline as parameters to a function with non-tuple arguments
body: <p>I've got a function that takes two parameters, for example:</p>
  
  <pre><code>let f a b = a = b
  </code></pre>
  
  <p>Then I have a second function that returns a tuple:</p>
  
  <pre><code>let g = (a, b)
  </code></pre>
  
  <p>I want to pass in a and b in the tuple from g as parameters to f in one line. I could do it in two statements, but the reason I want to do this is that my calling function does an or and I'd rather not call f unless the first case is false, to save on unnecessary processing.</p>
  
  <pre><code>let calling =
    someboolean || 
    f g // want to split result of g to parameters for f without calling g twice
  </code></pre>
  
  <p>Any tips on how to do this? I know I could have f take a tuple instead, but I'd like to retain the option for currying. </p>
  
  <p>I hope I explained this well enough. :)</p>