title: Call a function with arguments from a list
body: <p>Is there a way to call a function with arguments from a list? The equivalent in Python is <code>sum(*args)</code>.</p>
  
  <pre><code>// Scala
  
  def sum(x: Int, y: Int) = x + y
  val args = List(1, 4)
  
  sum.???(args)      // equivalent to sum(1, 4)
  </code></pre>
  
  <p><code>sum(args: _*)</code> wouldn't work here.
  Don't offer change the declaration of the function anyhow. I'm acquainted with a function with repeated parameters <code>def sum(args: Int*)</code>.</p>