<br><br><div class="gmail_quote">On Thu, Apr 17, 2008 at 2:09 AM, Graham Fawcett &lt;<a href="mailto:graham.fawcett@gmail.com">graham.fawcett@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I notice in the source for GHC.Handle that certain functions (e.g.<br>
fdToHandle_stat) are in the export list, but are not actually exported<br>
(at least, it seems you cannot import them). What mechanism causes<br>
these functions to be &quot;hidden&quot;, and are they still accessible in some<br>
way?</blockquote><div><br></div></div>Good question.&nbsp; I often need to export a name to other modules within the hierarchy, but without making them visible outside it.&nbsp; I&#39;ve &quot;solved&quot; this problem by giving them funky names and adding a comment, but is there a more structured way to do this?&nbsp; A quick google hasn&#39;t found one yet.<br>
<br>cheers,<br>Fraser.<br>