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? For
starters, why should this warning apply only to do
Ivan Lazar Miljenovic 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? For
starters, why should
(before anyone tells me I should be using an Applicative style
instead, polyparse doesn't support Applicative, so I can't)
Well, polyparse may not support the Applicative class defined in
Control.Applicative, but it _does_ have an applicative interface using
other names for the same operator
On Fri, Apr 9, 2010 at 10:20 AM, Neil Brown wrote:
> Ivan Lazar Miljenovic 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
On Fri, Apr 9, 2010 at 6:44 AM, Ivan Lazar Miljenovic <
ivan.miljeno...@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 ma
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.miljeno...@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 Mitchel
On 10 April 2010 00:20, Neil Brown wrote:
> The comments in that bug report actually mention "My patch does not warn on
> uses of >>, only in do-notation, where the situation is more clear cut". I
> take >> to be an explicit sign that the user wants to ignore the result of
> the first action, whe
On 10 April 2010 02:07, Bryan O'Sullivan wrote:
> 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.
Yeah, I'm very tempted to do this as well. This warning might make
sense for IO, but I th
I'm in the camp of adding -fno-warn-unused-do-bind to my cabal files. I hate
sacrificing the purity of -Wall but I have so many forkIOs in my code that I
think it was the best option.
Max
On Apr 10, 2010, at 3:08 PM, Ivan Miljenovic wrote:
> On 10 April 2010 02:07, Bryan O'Sullivan wrote:
>
Can anyone provide an example of an error that is prevented by this
warning? When exactly is it dangerous to ignore a monadic function's
return value?
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-c
Roel van Dijk writes:
> Can anyone provide an example of an error that is prevented by this
> warning? When exactly is it dangerous to ignore a monadic function's
> return value?
See Neil's original rationale in the bug report:
http://hackage.haskell.org/trac/ghc/ticket/3263
Short version: usin
On Tue, Apr 13, 2010 at 9:59 PM, Max Cantor wrote:
> I'm in the camp of adding -fno-warn-unused-do-bind to my cabal files. I hate
> sacrificing the purity of -Wall but I have so many forkIOs in my code that I
> think it was the best option.
>
> Max
>
I think a nice compromise position would be
On Wed, 14 Apr 2010 09:15:04 -0500, Antoine Latter wrote:
> On Tue, Apr 13, 2010 at 9:59 PM, Max Cantor wrote:
> > I'm in the camp of adding -fno-warn-unused-do-bind to my cabal files. Â I
> > hate sacrificing the purity of -Wall but I have so many forkIOs in my code
> > that I think it was the
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.miljeno...@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:
> >
John Meacham schrieb:
> 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.miljeno...@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 rep
15 matches
Mail list logo