<div dir="ltr">Oh, okay, sure</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>---</div>С уважением,<div>Жаворонков Эдгар</div><div><br></div><div>Yours sincerely,</div><div>Zhavornkov Edgar</div></div></div></div></div></div>
<br><div class="gmail_quote">2015-10-20 1:37 GMT+03:00 Richard Eisenberg <span dir="ltr"><<a href="mailto:eir@cis.upenn.edu" target="_blank">eir@cis.upenn.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Sure. But before thinking about implementation, let's think about specification. Write a wiki page (perhaps <a href="https://ghc.haskell.org/trac/ghc/wiki/Design/LocalWarningPragmas" target="_blank">https://ghc.haskell.org/trac/ghc/wiki/Design/LocalWarningPragmas</a> ) with the design of how the feature should work, with several examples. Once we know what we're building, then we can talk about how to build it.</div><div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div>Richard</div></font></span><div><div class="h5"><br><div><div>On Oct 19, 2015, at 6:21 PM, Эдгар Жаворонков <<a href="mailto:edzhavoronkov@gmail.com" target="_blank">edzhavoronkov@gmail.com</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr">Hello, Richard,<div><br></div><div>Do you know something about defining own pragmas in GHC?</div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div>---</div><div><br></div>С уважением,<div>Жаворонков Эдгар</div></div></div></div>
<br><div class="gmail_quote">2015-10-20 1:17 GMT+03:00 Richard Eisenberg <span dir="ltr"><<a href="mailto:eir@cis.upenn.edu" target="_blank">eir@cis.upenn.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Hi Edgar,</div><div><br></div><div>No, that doesn't exist yet. Would surely be useful, though.</div><span><font color="#888888"><div><br></div><div>Richard</div></font></span><div><div><br><div><div>On Oct 19, 2015, at 6:16 PM, Эдгар Жаворонков <<a href="mailto:edzhavoronkov@gmail.com" target="_blank">edzhavoronkov@gmail.com</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr">No, i mean exactly pragmas in source code, that i can particulary add to function or a part of the code for example.<div>E.g:</div><div><br></div><div>{-# BEGIN_SUPPRESS_WARNINGS #-}</div><div><br></div><div>foo :: a -> b</div><div>#do something that throws warnings</div><div><br></div><div>{-# END_SUPPRESS_WARNINGS #-}</div><div><br><div class="gmail_extra"><div><div dir="ltr"><br></div></div>
<br><div class="gmail_quote">2015-10-20 1:10 GMT+03:00 Richard Eisenberg <span dir="ltr"><<a href="mailto:eir@cis.upenn.edu" target="_blank">eir@cis.upenn.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>I just responded to #602, but perhaps you're just looking for the -fno-warn-XXX options listed here: <a href="https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/flag-reference.html#idp14879296" target="_blank">https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/flag-reference.html#idp14879296</a></div><div><br></div><div>Richard</div><br><div><div><div>On Oct 19, 2015, at 5:22 PM, Эдгар Жаворонков <<a href="mailto:edzhavoronkov@gmail.com" target="_blank">edzhavoronkov@gmail.com</a>> wrote:</div><br></div><blockquote type="cite"><div><div dir="ltr">Hi everyone!<br>
<br>
Do you know, if there is pragma for warning suppression? I want to
implement something like warning suppression related to this ticket in
GHC's Trac (<a href="https://ghc.haskell.org/trac/ghc/ticket/602" target="_blank">https://ghc.haskell.org/trac/ghc/ticket/602</a>). Or i need to
implement that kind of pragma by myself?<br>
<br>
Thanks in advance!<br>
Edgar
</div></div>
_______________________________________________<br>ghc-devs mailing list<br><a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br></blockquote></div><br></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div></blockquote></div><br></div>