Completeness of pattern matching

Ketil Z. Malde ketil@ii.uib.no
06 Dec 2002 13:57:17 +0100


Malcolm Wallace <Malcolm.Wallace@cs.york.ac.uk> writes:

> Ingo Wechsung <iw@contexo.de> writes:
>> I wonder if the compiler could check, if all possible combinations have
>> been checked in a pattern match.

> In ghc, use the compile-time option -fwarn-incomplete-patterns

Is there a warning to warn if a block is delimited (or not) with a mix
of tabs and spaces?  Or somehow otherwise warn against dangerously
looking layout?

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants