[Haskell-cafe] idea: <package>-latest URLs for Hackage
tikhon at jelv.is
Thu Jul 9 21:54:57 UTC 2015
I believe Hackage already supports urls like that if you leave the version
This automatically redirects you to the latest version.
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 http://hackage.haskell.org/package/base
I'm not sure if this is an intentional design or just a quirk of the
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,
On Jul 9, 2015 2:46 PM, "Ömer Sinan Ağacan" <omeragacan at gmail.com> wrote:
> It's very convenient to have a persistent URL linked to latest
> version. GHC user manual has
> and you can create a bookmark with that URL and it stays up-to-date,
> it appears in first place in Google queries etc.
> I'm wondering why not implement this for Hackage too? For example,
> hackage.haskell.org/package/base-latest/docs/<module-name>.html etc.
> Any ideas?
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe