title: Magnet pattern with repeated parameters (varargs)
body: <p>Is it possible to use the <a href="http://spray.io/blog/2012-12-13-the-magnet-pattern/" rel="nofollow">magnet pattern</a> with varargs:</p>
  
  <pre><code>object Values {
    implicit def fromInt (x : Int ) = Values()
    implicit def fromInts(xs: Int*) = Values()
  }
  case class Values()
  
  object Foo {  
    def bar(values: Values) {}
  }
  
  Foo.bar(0)
  Foo.bar(1,2,3) // ! "error: too many arguments for method bar: (values: Values)Unit"
  </code></pre>
  
  <p>?</p>