[Haskell-cafe] Re: [Haskell] ANN: HLint 1.0
ndmitchell at gmail.com
Mon Dec 22 05:29:05 EST 2008
> It would be nice if HLint didn't suggest things that it will object to
> in the next round.
> LLVM/Core/CodeGen.hs:176:1: Eta reduce
> applyArgs f g = apArgs 0 f g
> Why not:
> applyArgs f = apArgs 0 f
The idea is to specify things one step at a time, so the user learns
from the hints, as well as fixing them. However, in the case of eta
reduction, doing several reductions at a time does make sense. I'll
add it to the todo list.
More information about the Haskell-Cafe