
Hello, Richard,
Do you know something about defining own pragmas in GHC?
---
С уважением,
Жаворонков Эдгар
2015-10-20 1:17 GMT+03:00 Richard Eisenberg
Hi Edgar,
No, that doesn't exist yet. Would surely be useful, though.
Richard
On Oct 19, 2015, at 6:16 PM, Эдгар Жаворонков
wrote: No, i mean exactly pragmas in source code, that i can particulary add to function or a part of the code for example. E.g:
{-# BEGIN_SUPPRESS_WARNINGS #-}
foo :: a -> b #do something that throws warnings
{-# END_SUPPRESS_WARNINGS #-}
2015-10-20 1:10 GMT+03:00 Richard Eisenberg
: I just responded to #602, but perhaps you're just looking for the -fno-warn-XXX options listed here: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/flag-referen...
Richard
On Oct 19, 2015, at 5:22 PM, Эдгар Жаворонков
wrote: Hi everyone!
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 (https://ghc.haskell.org/trac/ghc/ticket/602). Or i need to implement that kind of pragma by myself?
Thanks in advance! Edgar _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs