title: Kotlin - inline functions with multiple parameters
body: <p>I can define an inline function in Kotlin with:</p>
  
  <pre><code>inline fun func(a: () -&gt; Unit, b: () -&gt; Unit){
      a()
      b()
  }
  </code></pre>
  
  <p>But how do I call this function?</p>
  
  <p>For a normal inline function with only one parameter, I would use:</p>
  
  <pre><code>func {
      doSomething()
  }
  </code></pre>
  
  <p>Is there a similar syntax for functions with more than one inline parameter?</p>