[Haskell-cafe] --hyperlinks-in-source ?

Corentin Dupont corentin.dupont at gmail.com
Thu Nov 27 14:03:50 UTC 2014


Hi Johannes,
I asked this some time ago:
https://www.haskell.org/pipermail/haskell-cafe/2013-June/108607.html

There is something in the HaRe refactoring tool (seems to be extracted from
Programatica project):
https://github.com/RefactoringTools/HaRe/tree/master/tools/hs2html
However I don't think it's readily usable at this stage (seems to be quite
outdated).

I also have this need for Nomyx:
https://github.com/cdupont/Nomyx/issues/5

I think it would be very useful and used if this was existing and usable :)
We could join forces to recreate it?

Best,
Corentin



On Thu, Nov 27, 2014 at 12:58 PM, Johannes Waldmann <
waldmann at imn.htwk-leipzig.de> wrote:

> I am using 'standalone-haddock --hyperlink-source'
> (and I cannot praise this enough) but ...
>
>    is there some way to get hyperlinks *in* the source?
>
> currently, I have to jump back and forth
> between doc (which has all the links) and source (which I want to navigate
> -
> actually, present for others so they can browse)
>
> I understand there's a nontrivial design space
> but I could imagine a basic functionality like:
>
> for each identifier  i  (type, class, constructor, function)
> that appears in the source,
> generate the link that haddock would produce for  " -- | 'i' "
>
> (3.8.7. Hyperlinked Identifiers
> https://www.haskell.org/haddock/doc/html/ch03s08.html#idm140354810770608 )
>
> - J.W.
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20141127/8ce99220/attachment.html>


More information about the Haskell-Cafe mailing list