<p dir="ltr">I believe Hackage already supports urls like that if you leave the version out: <a href="http://hackage.haskell.org/package/base/docs/Control-Monad.html">http://hackage.haskell.org/package/base/docs/Control-Monad.html</a></p>
<p dir="ltr">This automatically redirects you to the latest version.</p>
<p dir="ltr">The problem, then, is visibility both to users and to Google. Since it's an actual redirect, your URL bar will show the specific version when you follow the link. The version number will also show up if you copy the URL from one of the links on the contents page even if you got there without specifying a version. (By following <a href="http://hackage.haskell.org/package/base">http://hackage.haskell.org/package/base</a> for example.)</p>
<p dir="ltr">I'm not sure if this is an intentional design or just a quirk of the implementation.</p>
<p dir="ltr">One thing to keep in mind: how would you handle "latest" URLs for modules that have since been removed from the package? Presumably, we'd still want something showing up in Google results or if people follow an old link, after all.</p>
<div class="gmail_quote">On Jul 9, 2015 2:46 PM, "Ömer Sinan Ağacan" <<a href="mailto:omeragacan@gmail.com">omeragacan@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It's very convenient to have a persistent URL linked to latest<br>
version. GHC user manual has<br>
this(<a href="https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/" rel="noreferrer" target="_blank">https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/</a>)<br>
and you can create a bookmark with that URL and it stays up-to-date,<br>
it appears in first place in Google queries etc.<br>
<br>
I'm wondering why not implement this for Hackage too? For example,<br>
<a href="http://hackage.haskell.org/package/base-latest" rel="noreferrer" target="_blank">hackage.haskell.org/package/base-latest</a>,<br>
<a href="http://hackage.haskell.org/package/base-latest/docs/" rel="noreferrer" target="_blank">hackage.haskell.org/package/base-latest/docs/</a><module-name>.html etc.<br>
<br>
Any ideas?<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div>