<div dir="ltr"><div><div style>Say that I have a module like:</div><div style><br></div><div style><br></div><div style>module Test(L.find) where<br></div><div><br></div><div>import Data.List as L</div></div><br><div><br></div>
<div style>Using the GHC API, I extract the module exports (using GHC.modInfoExports) and I get a list of names.</div><div style><br></div><div style>Now, I want to get the name of the export with the namespace stated in the source (&quot;L.find&quot;)  but I seem to be able to get it only as &quot;Data.List.find&quot;.</div>
<div style><br></div><div style>I have tried different variations of functions on Name or OccName but nothing seems to work.</div><div style><br></div><div style>Obviously, I could just parse the module and get the info that way, but I wondered if it could be done via the API.</div>
<div style><br></div><div style>Thanks,</div><div style><br></div><div style>    titto</div><div><div><br></div>-- <br>Dr. Pasqualino &quot;Titto&quot; Assini<br><a href="http://quid2.org/" target="_blank">http://quid2.org/</a><br>
<br>
</div></div>