title: How do you test functions and closures for equality?
body: <p><a href="https://developer.apple.com/library/prerelease/ios/documentation/swift/conceptual/swift_programming_language/Closures.html#//apple_ref/doc/uid/TP40014097-CH11-XID_117" rel="noreferrer">The book says that "functions and closures are reference types".</a> So, how do you find out if the references are equal? == and === don't work.</p>
  
  <pre><code>func a() { }
  let å = a
  let b = å === å // Could not find an overload for === that accepts the supplied arguments
  </code></pre>