Re: Ignoring ANN Module "HLint: ..."

2017-09-23 Thread Brandon Allbery
On Sun, Sep 24, 2017 at 1:51 AM, Moritz Angermann < moritz.angerm...@gmail.com> wrote: > > > As I understand it, ANNotations are intended for use with ghc plugins; > hlint's use of them is not *quite* an abuse, since it is relying on > haskell-src-exts handling of them rather than ghc's. > > I did

Re: Ignoring ANN Module "HLint: ..."

2017-09-23 Thread Moritz Angermann
> On Sep 24, 2017, at 1:48 PM, Brandon Allbery wrote: > > On Sun, Sep 24, 2017 at 1:44 AM, Moritz Angermann > wrote: > can we detect annotations like `{-# ANN module "HLint: ignore Reduce > duplication" #-}` easily? > Right now this will

Re: Ignoring ANN Module "HLint: ..."

2017-09-23 Thread Brandon Allbery
On Sun, Sep 24, 2017 at 1:44 AM, Moritz Angermann < moritz.angerm...@gmail.com> wrote: > can we detect annotations like `{-# ANN module "HLint: ignore Reduce > duplication" #-}` easily? > Right now this will result (without -fexternal-interpreter or a stage2 > compiler) in > > Ignoring ANN

Ignoring ANN Module "HLint: ..."

2017-09-23 Thread Moritz Angermann
Hi *, can we detect annotations like `{-# ANN module "HLint: ignore Reduce duplication" #-}` easily? Right now this will result (without -fexternal-interpreter or a stage2 compiler) in Ignoring ANN annotation, because this is a stage-1 compiler without -fexternal-interpreter or doesn't