Using filterNot with a Map
<p>I have a simple map</p>

<pre><code>val m = Map("a1" -&gt; "1", "b2" -&gt; "2", "c3" -&gt; "3")
val someList = List("b", "d")
m.filterNot( (k,v) =&gt; someList.exist(l =&gt; k.startsWith(l)) )
</code></pre>

<p>I'm getting an error:</p>

<pre><code>error: missing parameter type
</code></pre>

<p>I'm doing something silly here I'm sure, why isn' this compiling?</p>