title: Scala repeat Array
body: <p>I am a newbie to <code>scala</code>. I try to write a function that is "repeating" an <code>Array</code> (Scala 2.9.0):</p>
  
  <pre><code>def repeat[V](original: Array[V],times:Int):Array[V]= {
  if (times==0)
     Array[V]()
  else
    Array.concat(original,repeat(original,times-1)
  }
  </code></pre>
  
  <p>But I am not able to compile this (get an error about the <code>manifest</code>)...</p>