title: Using closures as parameters without trailing closures Swift
body: <p>When using trailing closure syntax it seems quite easy to <a href="https://stackoverflow.com/a/40467958/1800285">pass a function as a parameter of another function</a>.</p>
  
  <p>However I want to do this WITHOUT using the trailing closure syntax</p>
  
  <pre><code>func doSomethingTwo(closure: (String) -&gt; Void) {
      closure("AAA")
  }
  
  doSomethingTwo(closure: print("TEST") )
  </code></pre>
  
  <p>gives 
  Cannot convert value of type '()' to expected argument type '(String) -> Void'</p>
  
  <p>I know that </p>
  
  <pre><code>doSomethingTwo{ (test: String) in
      print ("\(test)")
  }
  </code></pre>
  
  <p>works, but want this without the trailing closure syntax.</p>
  
  <p>This is not a homework problem, I am looking at tutorials and have done research that has not given me an answer to this question. </p>