Scala Pattern Matching Closures
<p>I'm trying to pattern match a Closure. Is this possible? Using the syntax for declaring closures in functions, I specified the closure as <code>(call: =&gt; Unit)</code></p>

<p>ie.
    <code>def foo = {
        case (call: =&gt; Unit) =&gt;{1}
        case _ =&gt; 1}</code></p>