I shouldn&#39;t have choosen Num for the constructor name, it led to confusions apparently.<br>You can replace tha Num with anything you want, doesn&#39;t change the situation.<br>I mean, it&#39;s not the problematic part.<br>
<br>Is there any news about the fix in the lexer? When can we use it?<br><br><div class="gmail_quote">On 27 April 2010 00:52, Ivan 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: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On 27 April 2010 02:15, Ozgur Akgun &lt;<a href="mailto:ozgurakgun@gmail.com">ozgurakgun@gmail.com</a>&gt; wrote:<br>

&gt; data Expr = Num Int | Expr :+: Expr | Expr :-: Expr<br>
&gt;<br>
</div>&gt; [snip]<br>
<div class="im">&gt;<br>
&gt; -- | If the input is &#39;Num&#39; does magic, if it is &#39;:+:&#39; does even more magic!<br>
&gt; someFunc :: Expr -&gt; Expr<br>
&gt;<br>
&gt; In the output of this markup, the &#39;Num&#39; is hyperlinked but the &#39;:+:&#39; is not.<br>
<br>
</div>I would hazard a guess that the Num hyperlink points to the Num<br>
typeclass in the Prelude rather than your Num constructor.  As for<br>
your infix constructor, I have no idea.<br>
<div><div></div><div class="h5"><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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Ozgur Akgun<br>