Re: [Haskell] ANN: HLint 1.0

2008-12-20 Thread Niklas Broberg
> Another parse error: > > newtype CodeGenModule a = CGM (StateT CGMState IO a) >deriving (Monad, MonadState CGMState, MonadIO) Thanks Lennart, another one on my plate, shouldn't be hard to fix. Neil, your tool seems to be gold for finding bugs in HSE. :-) Cheers, /Niklas __

Re: [Haskell] ANN: HLint 1.0

2008-12-20 Thread Lennart Augustsson
Another parse error: newtype CodeGenModule a = CGM (StateT CGMState IO a) deriving (Monad, MonadState CGMState, MonadIO) On Sat, Dec 20, 2008 at 9:55 AM, Neil Mitchell wrote: > Hi, > > I am pleased to announce HLint, a tool for making suggestions to > improve your Haskell code. Previously t

Re: [Haskell] ANN: HLint 1.0

2008-12-20 Thread Lennart Augustsson
It would be nice if HLint didn't suggest things that it will object to in the next round. Like LLVM/Core/CodeGen.hs:176:1: Eta reduce Found: applyArgs f g = apArgs 0 f g Why not: applyArgs f = apArgs 0 f BTW, great tool! -- Lennart ___ Haskell ma

Re: [Haskell] ANN: HLint 1.0

2008-12-20 Thread Hugo Pacheco
I noticed that you convert point-wise into point-free.Perhaps you could add some point-free transformations to remove redundancy in certain cases. Is that a goal of the library? Cheers, hugo On Sat, Dec 20, 2008 at 9:55 AM, Neil Mitchell wrote: > Hi, > > I am pleased to announce HLint, a tool f

[Haskell] ANN: HLint 1.0

2008-12-20 Thread Neil Mitchell
Hi, I am pleased to announce HLint, a tool for making suggestions to improve your Haskell code. Previously this tool was called Dr Haskell and depended on a working installation of Yhc - both of those have now changed. HLint requires GHC 6.10*, and to install simply type: cabal update && cabal in