title: Defining a function with multiple implicit arguments in Scala
body: <p>How can I define a function with multiple implicit arguments.</p>
  
  <pre><code>def myfun(arg:String)(implicit p1: String)(implicit p2:Int)={} // doesn't work
  </code></pre>