title: Can I print function type in Swift?
body: <p>I want to print the type of a function.</p>
  
  <pre><code>func thanksTo(name: String) {
      print("Thanks, \(name)")
  }
  
  printType(thanksTo)    // expected to print "Function (String) -&gt; ()"
  </code></pre>
  
  <p>Is there any function in Swift that behaves like <code>printType</code>?</p>