[Haskell-cafe] Haddock multiple definitions
fuuzetsu at fuuzetsu.co.uk
Fri Aug 16 09:22:54 CEST 2013
On 16/08/13 08:16, Mateusz Kowalczyk wrote:
> In the future, please try with more recent version of GHC.
> This is no longer a parse error with HEAD or 7.6.3. Instead, given
> -- | 'y' and 'x' are here
> (x, y) = (1, 2)
> you get documentation generated for ‘x’ and Haddock doesn't seem to
> have any idea where to link ‘y’ (but it does know it's in scope &c). I
> think this behaviour is understandable considering that ‘x’ is the
> first ‘function’ after Haddock comments so the comment belongs to ’x’.
> If you want a different behaviour, please file an enhancement request
> against a recent version to have it considered.
I would like to add onto this that we can actually get the Haddock
documentation generated for ‘y’ by exporting it in the module and then
we can easily link to it, you're simply not getting the Haddock
> I don't understand your concern over privacy in this case: you're
> getting a lot more exposure just posting on café than you ever would
> by posting directly on the low-traffic Haddock Trac. You're free to
> register with a temporary e-mail.
Apologies for consecutive posts.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5619 bytes
Desc: not available
More information about the Haskell-Cafe