[Haskell-cafe] Prelude.undefined
Tom Hawkins
tomahawkins at gmail.com
Wed Mar 3 10:29:45 EST 2010
On Wed, Mar 3, 2010 at 7:15 AM, Ivan Miljenovic
<ivan.miljenovic at gmail.com> wrote:
> On 3 March 2010 16:11, Tom Hawkins <tomahawkins at gmail.com> wrote:
>> -Wall only complains about shadow bindings, defined but not used, and
>> no type signature. But no unmatched patterns.
>
> Yes it does: one of the options it brings in is
> -fwarn-incomplete-patterns which tells you if you've missed a pattern
> match.
Sorry, I should have been more clear. When I run the program with
-Wall, the only warnings I get are shadow bindings, values defined by
not used, and a couple values without a type signature. But I don't
get any warnings about either unmatched patterns or overlapping
patterns.
-Tom
More information about the Haskell-Cafe
mailing list