<html><div style='background-color:'><DIV>
<P>Hello, everyone.<BR>I can't use any instance of type "Int". Every other type is working, but not Int and Float.</P>
<P>In the following source, "isTrue 'T'" is working, but "isTrue 0" is not working, printing "Unresolved overloading - Type : (Num a, Boolable a) =&gt; Bool". Can you tell me how to solve this problem? Source codes are&nbsp;ONLY eight lines, so please help me! Thanks in advance.</P>
<P>
<HR>
</P>
<P><FONT face="Courier New, Courier, Monospace">class Boolable t where<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; isTrue :: t -&gt; Bool</FONT></P>
<P><FONT face="Courier New, Courier, Monospace">instance Boolable Char where<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; isTrue 'T' = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; isTrue _ = False</FONT></P>
<P><FONT face="Courier New, Courier, Monospace">instance Boolable Int where<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; isTrue 0 = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; isTrue _ = True</FONT></P>
<P>
<HR>
</P>
<P><FONT face="Courier New, Courier, Monospace"></FONT>&nbsp;</P></DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMAENUS/2728??PS=">Great deals on high-speed Internet access as low as $26.95.*<br></a> * Prices may vary by service area.   </html>