Closed tdammers closed 6 months ago
Adding insult to injury, you get warnings about the missing documentation for the constructors.
Hi, thank you for this ticket, but Haddock now lives full-time in the GHC repository! Read more at https://discourse.haskell.org/t/haddock-now-lives-in-the-ghc-repository/9576.
Let me know if you feel it is still needed, and I'll migrate it. :)
It looks like Haddock does not see documentation attached to constructors of associated type instances, whereas it does see documentation attached to constructors of regular types.
Example:
I would expect
:doc MkDF
to cough up the line-- | Make DF
, but this is not the case.Trying to extract the documentation via Template Haskell's
getDoc
function gives similar results: the documentation attached toMkTy
can be found just fine, butgetDoc 'MkDF
comes back empty.