haskell-cafe@haskell.org
[Top] [All Lists]

Re: [Haskell-cafe] Prelude.undefined

Subject: Re: [Haskell-cafe] Prelude.undefined
From: Ivan Miljenovic
Date: Wed, 3 Mar 2010 17:15:15 +1100
On 3 March 2010 16:11, Tom Hawkins <tomahawkins@xxxxxxxxx> 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.

http://www.haskell.org/ghc/docs/latest/html/users_guide/options-sanity.html

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic@xxxxxxxxx
IvanMiljenovic.wordpress.com
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/haskell-cafe

<Prev in Thread] Current Thread [Next in Thread>