[Haskell-cafe] Disabling warning over ranges of source lines

2012-02-19 Thread Thomas DuBuisson
Using GHC, is there any way to disable warnings (entirely or selectively) during a section of source code? I ask because of some Template Haskell that periodically generates unused code and I'd rather not see the warnings or rework the macros (beyond emitting some sort of disable and re-enable

Re: [Haskell-cafe] Disabling warning over ranges of source lines

2012-02-19 Thread Ivan Lazar Miljenovic
On 20 February 2012 15:06, Thomas DuBuisson thomas.dubuis...@gmail.com wrote: Using GHC, is there any way to disable warnings (entirely or selectively) during a section of source code?  I ask because of some Template Haskell that periodically generates unused code and I'd rather not see the