[Haskell-cafe] Prelude.undefined

Ivan Miljenovic ivan.miljenovic at gmail.com
Wed Mar 3 01:15:15 EST 2010


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.

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

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com


More information about the Haskell-Cafe mailing list