Add reportError and reportWarning to TH
authorSimon Peyton Jones <simonpj@microsoft.com>
Mon, 16 Jul 2012 16:44:49 +0000 (17:44 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Mon, 16 Jul 2012 16:44:49 +0000 (17:44 +0100)
commit8e504ebcd6d6a135e577a493f28663dabcfe6342
tree19e07a41f1957164e7cdb10533ee636c736ad516
parent020a258df29eba3b5bbae14a8c158acc1d40bba5
Add reportError and reportWarning to TH

...and deprecate plain 'report', which takes a Boolean flag whose
sense is hard to remember.

Thanks to Reiner Pope.
Language/Haskell/TH/Syntax.hs