title: scala tuple unpacking
body: <p>I know this question has come up many times in different ways. But it is still not clear to me. Is there a way to achieve the following.</p>
  
  <pre><code>def foo(a:Int, b:Int) = {}
  
  foo(a,b) //right way to invoke foo
  
  foo(getParams) // is there a way to get this working without explicitly unpacking the tuple??
  
  def getParams = {
     //Some calculations
     (a,b)  //where a &amp; b are Int
  }
  </code></pre>