Skip to content

/docs redirect doesn't take into account deprecated packages #1095

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ndmitchell opened this issue Jul 7, 2022 · 0 comments
Open

/docs redirect doesn't take into account deprecated packages #1095

ndmitchell opened this issue Jul 7, 2022 · 0 comments

Comments

@ndmitchell
Copy link

In Hoogle, if you search for FunBind the first result links to https://hackage.haskell.org/package/ghc/docs/Language-Haskell-Syntax-Binds.html#v:FunBind. The URL https://hackage.haskell.org/package/ghc takes me to GHC 9.2.3, which is the second-latest version, as the subsequent ghc-9.2.3.20220620 has been marked deprecated. However, https://hackage.haskell.org/package/ghc/docs redirects to https://hackage.haskell.org/package/ghc-9.2.3.20220620/docs/ - the deprecated version, which in this case has no documentation.

It would be good if /docs shared the same logic as the non-docs link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant