<div dir="ltr"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">welcome on this list!</blockquote><div><br></div><div>Thanks :)</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">     isExportedId :: Var -> Bool</blockquote><div><br></div><div>That's what I have been using so far, but I found that said RULE pragmas mentioned non-exported identifiers. Or maybe it was just some temporary build system mess-up, I'll work on a reproduction...</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 28, 2017 at 10:33 PM, Joachim Breitner <span dir="ltr"><<a href="mailto:mail@joachim-breitner.de" target="_blank">mail@joachim-breitner.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Sebastian,<br>
<br>
welcome on this list!<br>
<span class="gmail-"><br>
Am Sonntag, den 28.05.2017, 17:52 +0200 schrieb Sebastian Graf:<br>
> Is there some function that tells me if an identifier is 'externally<br>
> visible' in that sense? I think <a href="https://downloads.haskell.org/~ghc/8" rel="noreferrer" target="_blank">https://downloads.<wbr>haskell.org/~ghc/8</a>.<br>
> 0.1/docs/html/libraries/ghc-8.<wbr>0.1/GHC.html#v:isExternalName is what<br>
> I'm after, but I want to be sure. Does that function already work<br>
> when the Ids are still local?<br>
<br>
</span>I would expect<br>
<br>
    isExportedId :: Var -> Bool<br>
<br>
to do precisely that.<br>
<br>
Greetings,<br>
Joachim<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
--<br>
Joachim “nomeata” Breitner<br>
  <a href="mailto:mail@joachim-breitner.de">mail@joachim-breitner.de</a> • <a href="https://www.joachim-breitner.de/" rel="noreferrer" target="_blank">https://www.joachim-breitner.<wbr>de/</a><br>
  XMPP: <a href="mailto:nomeata@joachim-breitner.de">nomeata@joachim-breitner.de</a> • OpenPGP-Key: 0xF0FBF51F<br>
  Debian Developer: <a href="mailto:nomeata@debian.org">nomeata@debian.org</a></font></span><br>______________________________<wbr>_________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/ghc-devs</a><br>
<br></blockquote></div><br></div></div>