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

Re: RTS changes affect runtime when they shouldn’t

2017-09-23 Thread Bardur Arantsson
On 2017-09-23 20:45, Sven Panne wrote: > 2017-09-21 0:34 GMT+02:00 Sebastian Graf >: > > [...] The only real drawback I see is that instruction count might > skew results, because AFAIK it doesn't properly take the > architecture

Re: RTS changes affect runtime when they shouldn’t

2017-09-23 Thread Joachim Breitner
Hi, Am Samstag, den 23.09.2017, 20:45 +0200 schrieb Sven Panne: > 2017-09-21 0:34 GMT+02:00 Sebastian Graf : > > [...] The only real drawback I see is that instruction count might > > skew results, because AFAIK it doesn't properly take the > > architecture (pipeline,

Re: RTS changes affect runtime when they shouldn’t

2017-09-23 Thread Sven Panne
2017-09-21 0:34 GMT+02:00 Sebastian Graf : > [...] The only real drawback I see is that instruction count might skew > results, because AFAIK it doesn't properly take the architecture (pipeline, > latencies, etc.) into account. It might be just OK for the average program, >