I shouldn't have choosen Num for the constructor name, it led to confusions
apparently.
You can replace tha Num with anything you want, doesn't change the
situation.
I mean, it's not the problematic part.
Is there any news about the fix in the lexer? When can we use it?
On 27 April 2010 00:52,
2010/4/26 Daniel Fischer daniel.is.fisc...@web.de:
Am Montag 26 April 2010 22:18:53 schrieb Daniel Fischer:
Am Montag 26 April 2010 22:05:48 schrieb Ozgur Akgun:
So, how can we make use of this fix?
My guess:
$ cabal install haddock-2.7.2
No, it's not yet in there :(
Yes, I should make
Hi all,
If I have the following data type:
data Expr = Num Int | Expr :+: Expr | Expr :-: Expr
Haddock handles the infix constructors, and generates a very nice output
(html in this case)
However when I try to reference to one of the infix constructors in the
markup of other functions it fails
Am Montag 26 April 2010 18:15:02 schrieb Ozgur Akgun:
Hi all,
If I have the following data type:
data Expr = Num Int | Expr :+: Expr | Expr :-: Expr
Haddock handles the infix constructors, and generates a very nice output
(html in this case)
However when I try to reference to one of the
2010/4/26 Daniel Fischer daniel.is.fisc...@web.de:
Am Montag 26 April 2010 18:15:02 schrieb Ozgur Akgun:
Hi all,
If I have the following data type:
data Expr = Num Int | Expr :+: Expr | Expr :-: Expr
Haddock handles the infix constructors, and generates a very nice output
(html in this
So, how can we make use of this fix?
On 26 April 2010 19:47, David Waern david.wa...@gmail.com wrote:
2010/4/26 Daniel Fischer daniel.is.fisc...@web.de:
Am Montag 26 April 2010 18:15:02 schrieb Ozgur Akgun:
Hi all,
If I have the following data type:
data Expr = Num Int | Expr :+:
Am Montag 26 April 2010 22:05:48 schrieb Ozgur Akgun:
So, how can we make use of this fix?
My guess:
$ cabal install haddock-2.7.2
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On 27 April 2010 02:15, Ozgur Akgun ozgurak...@gmail.com wrote:
data Expr = Num Int | Expr :+: Expr | Expr :-: Expr
[snip]
-- | If the input is 'Num' does magic, if it is ':+:' does even more magic!
someFunc :: Expr - Expr
In the output of this markup, the 'Num' is hyperlinked but the