I shouldn't have choosen Num for the constructor name, it led to confusions apparently.<br>You can replace tha Num with anything you want, doesn't change the situation.<br>I mean, it'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"><<a href="mailto:ivan.miljenovic@gmail.com">ivan.miljenovic@gmail.com</a>></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 <<a href="mailto:ozgurakgun@gmail.com">ozgurakgun@gmail.com</a>> wrote:<br>
> data Expr = Num Int | Expr :+: Expr | Expr :-: Expr<br>
><br>
</div>> [snip]<br>
<div class="im">><br>
> -- | If the input is 'Num' does magic, if it is ':+:' does even more magic!<br>
> someFunc :: Expr -> Expr<br>
><br>
> In the output of this markup, the 'Num' is hyperlinked but the ':+:' 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>