I&#39;ll try that.<br>But if it does this, why isn&#39;t the documentation on hackage generated with that option?<br>(Sorry, I was mostly talking about it, since I don&#39;t always install documentation locally, I check it on hackage)<br>

<br><div class="gmail_quote">2011/12/6 David Waern <span dir="ltr">&lt;<a href="mailto:david.waern@gmail.com">david.waern@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

2011/12/6 Yves Parès &lt;<a href="mailto:limestrael@gmail.com">limestrael@gmail.com</a>&gt;:<br>
<div class="im">&gt; Hi,<br>
&gt;<br>
&gt; I noticed some time ago the fact that qualified imports doesn&#39;t affect the<br>
&gt; generated documentation.<br>
&gt; It&#39;s kind of clumsy in case of libraries that define a lot of synonyms<br>
&gt; (vector and bytestring come in my mind first).<br>
&gt; For instance, in the package utf8-string:<br>
&gt; <a href="http://hackage.haskell.org/packages/archive/utf8-string/0.3.7/doc/html/Data-ByteString-UTF8.html" target="_blank">http://hackage.haskell.org/packages/archive/utf8-string/0.3.7/doc/html/Data-ByteString-UTF8.html</a><br>


&gt;<br>
&gt; Here, the documentation doesn&#39;t say that the<br>
&gt; utf8-string/Data.ByteString.UTF8.ByteString datatype used all along comes in<br>
&gt; fact from Data.ByteString.<br>
&gt; If it were instead a new implementation of ByteString (as for<br>
&gt; bytestring/Data.ByteString.Char8.ByteString) the documentation would look<br>
&gt; exactly the same, so to disambiguate to reader has to crawl through the code<br>
&gt; to get to the initial definition.<br>
&gt; (clicking on a &#39;ByteString&#39; doesn&#39;t even redirect you to the original<br>
&gt; bytestring/Data.ByteString page)<br>
&gt;<br>
&gt; It should be written that this &#39;ByteString&#39; is not a newly defined type but<br>
&gt; instead a re-exportation.<br>
<br>
</div>It should be simple to add some kind of &quot;Re-export of &lt;link to<br>
original thing&gt;&quot; tag to the Haddock documentation. Feel free to add a<br>
ticket for this feature to the issue tracker<br>
(<a href="http://trac.haskell.org/haddock" target="_blank">trac.haskell.org/haddock</a>) with a description of how it should work.<br>
<div class="im"><br>
&gt; It&#39;s even worse when you see the doc of a module that uses in the meantime<br>
&gt; lazy and strict ByteStrings, or normal and unboxed/storable/&lt;insert flavour<br>
&gt; here&gt; vector: you have to hover the type name to see which haddock page it<br>
&gt; points to.<br>
&gt;<br>
&gt; In that case, a solution might be to indicate on top of the doc page that it<br>
&gt; uses another module as a qualified import, and to keep the prefixes in the<br>
&gt; function signatures.<br>
<br>
</div>Maybe. But have you tried experimenting with Haddock&#39;s --qual flag?<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
</font></span></blockquote></div><br>