after parsing a string i am evaluating it...<br>string if t1 then t2 else t3<br>my code is<br>eval1 :: Term -&gt;  Maybe Term                   <br>eval1(If Tru t2 t3) = Just t2<br>eval1(If Fls t2 t3) = Just t3<br>eval1(If t1 t2 t3) =  case eval t1 <br>
                    where eval1(If t1 t2 t3) =  Just t1          <br>          <br>eval :: Term -&gt; Term<br>eval (IsZero Zero) = Tru <br>eval (Zero) = Zero<br>eval(Pred Zero) = Pred Zero<br><br><div class="gmail_quote">
On Mon, Oct 17, 2011 at 3:46 PM, Ivan Lazar Miljenovic <span dir="ltr">&lt;<a href="mailto:ivan.miljenovic@gmail.com">ivan.miljenovic@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 18 October 2011 08:43, kolli kolli &lt;<a href="mailto:nammukolli04@gmail.com">nammukolli04@gmail.com</a>&gt; wrote:<br>
&gt; hey can anyone tell me what is parser error in parser??Plz help me out<br>
<br>
</div>It&#39;s when the parser can&#39;t parse what it&#39;s provided.... providing the<br>
code that caused the problem and the actual error message is required<br>
for a more detailed explanation.<br>
<font color="#888888"><br>
--<br>
Ivan Lazar Miljenovic<br>
<a href="mailto:Ivan.Miljenovic@gmail.com">Ivan.Miljenovic@gmail.com</a><br>
<a href="http://IvanMiljenovic.wordpress.com" target="_blank">IvanMiljenovic.wordpress.com</a><br>
</font></blockquote></div><br>