<DIV>Sorry for annoying you all, i'm just very eager to move on with this and solve it. so far i have;</DIV>
<DIV>&nbsp;</DIV>
<DIV>equalChar :: Char -&gt; Char -&gt; Bool<BR>equalChar x n<BR>&nbsp;&nbsp; | x == n = True<BR>&nbsp;&nbsp; | otherwise = False</DIV>
<DIV>&nbsp;</DIV>
<DIV>equalString :: String -&gt; String -&gt; Bool<BR>equalString [] [] = True<BR>equalString [] (c':s') = False<BR>equalString(c:s) [] = False<BR>equalString(c:s)(c':s') = equalChar c c'^ equalString s s'</DIV>
<DIV>&nbsp;</DIV>
<DIV>this function is to see if one string is equal to another.</DIV>
<DIV>&nbsp;</DIV>
<DIV>but when i compile this i get the error;</DIV>
<DIV>- Instance of Integral Bool required for definition of equalString<BR></DIV>
<DIV>does anyone know why i am getting this error and what i will need to do to transform the function above so that it checks is a list a subsequence of another list</DIV>
<DIV>&nbsp;</DIV><BR><BR><DIV>
<DIV>
<P><FONT face=courier><STRONG>Peter&nbsp;Stranney<IMG src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys2/04.gif"></STRONG></FONT></P></DIV></DIV><p>
                <hr size=1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/mail_us/taglines/security/*http://promotions.yahoo.com/new_mail/static/protection.html">Yahoo! Mail</a> - You care about security. So do we.