title: Kotlin: Can you use named arguments for varargs?
body: <p>For example, you might have function with a complicated signature and varargs:</p>
  
  <pre><code>fun complicated(easy: Boolean = false, hard: Boolean = true, vararg numbers: Int)
  </code></pre>
  
  <p>It would make sense that you should be able to call this function like so:</p>
  
  <pre><code>complicated(numbers = 1, 2, 3, 4, 5)
  </code></pre>
  
  <p>Unfortunately the compiler doesn't allow this.</p>
  
  <p>Is it possible to use named arguments for varargs? Are there any clever workarounds?</p>