[Haskell-cafe] Haddock infix constructors in markup
ivan.miljenovic at gmail.com
Mon Apr 26 19:52:53 EDT 2010
On 27 April 2010 02:15, Ozgur Akgun <ozgurakgun at gmail.com> wrote:
> data Expr = Num Int | Expr :+: Expr | Expr :-: Expr
> -- | 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 ':+:' is not.
I would hazard a guess that the Num hyperlink points to the Num
typeclass in the Prelude rather than your Num constructor. As for
your infix constructor, I have no idea.
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
More information about the Haskell-Cafe