can swift functions and closures conform to Hashable?
<p>Suppose I want to have a <code>Set</code> of functions or closures. Here's how I would go about it: </p>

<pre><code>typealias HandlerX = () -&gt; ()
static var handlersX = Set&lt;HandlerX&gt;()
</code></pre>

<p>This produces the following compiler error: </p>

<blockquote>
  <p>Type 'HandlerX' (aka '() -> ()') does not conform to protocol 'Hashable'</p>
</blockquote>

<p>Is this a dead end? </p>