Hi<br><br>Is there a similar ticket for GHC to not export instances in the case that other instances are explicitly specified?<br><br>module Foo (<br>                   Foo(Monad)<br>                  )<br><br>instance Monad Foo where ...<br>
instance MonadState (Foo Bar) where ...<br><br>i.e. the monad instance gets exported but the MonadState one does not?  This helps in maintaining opacity with respect to the package user.  I may not want the user to be able to call &#39;get&#39; and &#39;put&#39; when using my custom monad.<br>
<br>Cheers,<br><br>Vivian<br><br><div class="gmail_quote">On 26 August 2010 02:20, David Waern <span dir="ltr">&lt;<a href="mailto:david.waern@gmail.com">david.waern@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2010/8/25 Alexander McPhail &lt;<a href="mailto:haskell.vivian.mcphail@gmail.com">haskell.vivian.mcphail@gmail.com</a>&gt;:<br>
<div class="im"><br>
&gt; Perhaps Haddock could exclude class instance reporting when it cannot find a<br>
&gt; documentable link to a parameter?<br>
<br>
</div>Yes, it should. BTW, we have a trac ticket for it:<br>
<br>
  <a href="http://trac.haskell.org/haddock/ticket/37" target="_blank">http://trac.haskell.org/haddock/ticket/37</a><br>
<br>
You can add yourself to the CC list to show that you want this feature.<br>
<br>
Currently we don&#39;t have many people working on these types of tickets<br>
in Haddock (I&#39;m mostly fixing bugs, others are working on bigger<br>
improvements), so if more people would volunteer to help out, that&#39;d<br>
be great. The mailing list <a href="mailto:haddock@projects.haskell.org">haddock@projects.haskell.org</a> can be used to<br>
ask for directions and help.<br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>---<br>yolar et elver.<br>---<br><br>DISCLAIMER<br><br>This transmission contains information that may be confidential. It is intended for the named addressee only. Unless you are the named addressee you may not copy or use it or disclose it to anyone else.<br>
<br>