AW: [Haskell-cafe] Re: Basic problem in Haskell language design?
Nicu Ionita
nicu.ionita at acons.at
Sun Mar 1 09:03:12 EST 2009
Ok, thanks, compiling from Eclipse I totally forgot to check the compiler
flags.
Nicu Ionita
> -----Ursprüngliche Nachricht-----
> Von: haskell-cafe-bounces at haskell.org
> [mailto:haskell-cafe-bounces at haskell.org] Im Auftrag von Stuart Cook
> Gesendet: Sonntag, 1. März 2009 14:45
> An: haskell-cafe at haskell.org
> Betreff: Re: [Haskell-cafe] Re: Basic problem in Haskell
> language design?
>
>
> On Mon, Mar 2, 2009 at 12:35 AM, Achim Schneider
> <barsoap at web.de> wrote:
> > -Wall? The number of -W options enabled should scale (at least)
> > linearly with code size.
>
> To make this a little more clear:
>
> You should probably be using the -Wall compiler option, which
> will produce a message for code constructs that the compiler
> finds suspicious.
>
> In your case you should see three relevant warnings:
>
> 1. "moverFromWord8s" is defined but not used
> 2. "moverFromWord8s" has no explicit type signature
> 3. "movesFromWord8s" has a non-exhaustive pattern match
>
>
> Stuart
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
More information about the Haskell-Cafe
mailing list