Ticket #130 (new enhancement)
Better handling of links to cross-package documentation
|Reported by:||waern||Owned by:|
Currently, when linking to something that is exported by multiple packages, how do we choose which package to link to? The answer is that this is determined by the order of the --read-interface flags passed to Haddock. And it works this way mostly by accident.
I think it would be better to automatically try to find the "best" package to link to, just like we do for modules. And I think we should follow a similar rule to the one we use for modules and try to choose the package that is closest (or equal) to the original package. There are of course some more details that we need to sort out.