Links to source code with fragment doesn't work for functions
decentral1se opened this issue · 2 comments
Follows on from commercialhaskell/stackage#2522:
Example:
https://www.stackage.org/haddock/lts-8.14/base-4.9.1.0/src/GHC-Base.html#fmap
should open the page where fmap definition startsI found the link here:
https://www.stackage.org/haddock/lts-8.14/base-4.9.1.0/Data-Functor-Compose.html#t:ComposeHowever, it works for types:
https://www.stackage.org/haddock/lts-8.14/base-4.9.1.0/src/Data-Functor-Compose.html#Compose
The HTML files being referred to ship with GHC itself, and—unless I'm missing something—no anchors exist in the HTML. I think this issue needs to be opened upstream with GHC or Haddock.
Hmmmm ... @ricksanchez, do you feel like moving this upstream to GHC/Haddock (whichever it is)?
Please re-open if there is something that needs to be done here!