[Haskell-cafe] What is the consensus about -fwarn-unused-do-bind ?

Iustin Pop iusty at k1024.org
Fri Apr 9 16:09:05 EDT 2010


On Fri, Apr 09, 2010 at 09:07:29AM -0700, Bryan O'Sullivan wrote:
> On Fri, Apr 9, 2010 at 6:44 AM, Ivan Lazar Miljenovic <
> ivan.miljenovic at gmail.com> wrote:
> 
> >
> > As of 6.12.1, the new -fwarn-unused-do-bind warning is activated with
> > -Wall.  This is based off a bug report by Neil Mitchell:
> > http://hackage.haskell.org/trac/ghc/ticket/3263 .
> >
> > However, does it make sense for this to be turned on with -Wall?
> 
> 
> Personally, I find it to be tremendously noisy and unhelpful, and I always
> edit my .cabal files to turn it off. I think of it as a usability
> regression.

Well, I would say it could be helpful, but given that even
Text.Printf.printf triggers this error in harmless statements it is
indeed a regression.

iustin


More information about the Haskell-Cafe mailing list