
Am 22.03.2014 08:22, schrieb Tobias Brandt:
On 21 March 2014 20:10, Henning Thielemann
mailto:schlepptop@henning-thielemann.de> wrote: I tried three times to make Haddock show qualifications, but it is really frustrating. Last time I tried I despaired of GHC data structures. Somewhere the qualification must have been recognized by GHC but it is thrown away early and hard to restore.
I actually implemented qualified names in haddock a long time ago (http://projects.haskell.org/pipermail/haddock/2010-August/000649.html) exactly because of numeric-prelude. Here is a screenshot: http://projects.haskell.org/pipermail/haddock/attachments/20100828/e91f52de/...
However, I don't think that patch would still work, but it might give you some hints how to do it.
I know, but as far as I remember it was not completely satisfying. I prefered abbreviated qualifications, e.g. Field.C instead of Algebra.Field.C and there were differences between imports from modules of the same package and imports from external modules. http://trac.haskell.org/haddock/ticket/22