On Sat, Dec 10, 2011 at 12:33, Henning Thielemann wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have (x :: Set key) and (m :: Map key a) and want to remove all keys and corresponding values from m that are in x. I could solve it efficiently with a<br>


<br>
differenceSet :: Map key a -&gt; Set key -&gt; Map key a<br></blockquote><div><br></div><div>I have implemented this in the past, though it was certainly inefficient. It would be nice to have something similar and efficient.</div>

<div><br></div><div>Regards,</div><div>Sean</div></div>