Lots of incorrect links in haddock of `Data.List.NonEmpty`
Summary
Building the docs for base
currently produces lots of incorrect links to GHC.OldList
, for unqualified names in Data.List.NonEmpty
.
This issue is in production, as seen in the live docs for base-4.19
.
This is a problem with lots of examples, but a good one would be unfoldr
, for which the docs currently state that GHC.OldList
's unfoldr
is analogous to Data.List
's unfoldr
, which is technically correct, but clearly not the intention.
The docs for base-4.18.0.0 are correct, so the fault seems to have been introduced between GHC 9.6 and 9.8.
Expected behavior
Unqualified quoted names in the Data.List.NonEmpty
haddock should link to their counterparts in Data.List.NonEmpty
, instead of in GHC.OldList
.
Environment
- GHC version used: ghc-9.9, ghc-9.8