Burning more bridges (mostly numeric ones)

Tobias Brandt tob.brandt at gmail.com
Sat Mar 22 07:43:46 UTC 2014


On 22 March 2014 08:28, Henning Thielemann <schlepptop at henning-thielemann.de
> wrote:
>
> 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
>
>
There are four modes of qualification in my patch:
  * None: as now
  * Full: everything is fully qualified
  * Local: only imported names are fully qualified, like in the screenshot
  * Relative: like local, but prefixes in the same hierarchy are stripped.
Algebra.Field.C would become Field.C when shown in the documentation for
Algebra.VectorSpace.

The last one probably comes closest to what you want. Preserving the
original qualification (as written in the source code) would probably be
perfect, but that's already thrown away when we get to it in haddock.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20140322/8659aec6/attachment.html>


More information about the Libraries mailing list