title: Trying to pass List of Ints as an argument in scala function when calling it
body: <p>I've written a function with the following signature</p>
  
  <pre><code>def countChange(money: Int, coins: List[Int]): Int = 
  </code></pre>
  
  <p>When I try to call it and pass arguments I get a type mismatch error</p>
  
  <p>I tried <code>countChange(10, [1, 2])</code> and <code>countChange(10, List[1, 2])</code> with no luck</p>