title: Swift: definition and syntax of functions vs. closures
body: <p>Is this a function or a closure?</p>
  
  <pre><code>let triple: Int -&gt; Int = {
      (number: Int) in // What is this?
      let result = 3 * number
      number
      return result
  }
  
  triple(1)
  </code></pre>