Yes, of course, sorry for the typo.<br><br><div class="gmail_quote">On Mon, Dec 22, 2008 at 9:17 AM, Denis Bueno <span dir="ltr">&lt;<a href="mailto:dbueno@gmail.com">dbueno@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2008/12/22 Andrew Wagner &lt;<a href="mailto:wagner.andrew@gmail.com">wagner.andrew@gmail.com</a>&gt;:<br>
&gt; The problem here is even slightly deeper than you might realize. For<br>
&gt; example, what if you have a list of functions. How do you compare two<br>
&gt; functions to each other to see if they&#39;re equal? There is no good way really<br>
&gt; to do it! So, not only is == not completely polymorphic, but it CAN&#39;T be.<br>
&gt;<br>
&gt; There is a nice solution for this, however, and it&#39;s very simple:<br>
&gt;<br>
&gt; contain :: Eq a -&gt; [a] -&gt; Bool<br>
<br>
Please note that the syntax here should be:<br>
<br>
 &nbsp; &nbsp;contain :: Eq a =&gt; a -&gt; [a] -&gt; Bool<br>
<font color="#888888"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Denis<br>
</font></blockquote></div><br>